Giter Club home page Giter Club logo

mediconcen_codetest's Introduction

MediConCen_codetest

Dependencies needed:

  • python 3.5 or above

  • django 2.1/2.2

Set up the database for the first time: python3 manage.py makemigrations , followed by python3 manage.py migrate

Subsequent changes to the models require the above steps.

To invoke the django interactive shell: python3 manage.py shell

data can be loaded into the database from the shell, or on the admin page 127.0.0.1:8000/admin if local host is used. A superuser has to be created first, this can be done by python3 manage.py createsuperuser.

To load the data, in the shell type from content.models import * and then paste the data script into the shell.

To run the server: python3 manage.py runserver

default port is 8000

Login

User can login or register via this page.

Homepage

User can view and operate on his files

To upload new files, hit choose file and uplaod.

To download or delete files, hit the corresponding button

To update a file, hit the update button on the specific row, change the file name or upload a new file, then hit update.

At this stage, the system does not contains:

  • user files scanning
  • sorting of entries
  • user account management
  • duplicate file name prevention
  • aesthetic

mediconcen_codetest's People

Contributors

eddyu0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.