Skip to content

The Django backend API endpoints for the MDM app.

Notifications You must be signed in to change notification settings

FUBARS-SIH/DjangoAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DjangoAPI

The Django backend API endpoints for the app.

Setup

Postgres installation (for development environment)

  • Follow the instructions here
  • Database details
    • Name: mdm
    • User: mdm_user
    • Password: InchOwiL

Pipenv installation

  • Execute these commands from this project's root.
  • Install the pipenv package (only have to do it once).
    $ pip install pipenv
  • Open the virtual environment shell.
    $ pipenv shell
  • Install all the packages from Pipfile
    $ pipenv install

Using the project

  • Execute these commands inside the pipenv shell opened from the above steps.
  • Make and run migrations:
    $ python manage.py makemigrations
    $ python manage.py migrate
  • Run server:
    $ python manage.py runserver
  • Open browser and access the website on 127.0.0.1:8000

Releases

No releases published

Packages

No packages published

Languages