Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 662 Bytes

File metadata and controls

18 lines (17 loc) · 662 Bytes

Task

A Django based application with User and ActivityPeriod models, able to populate the database with some dummy data, and an API to serve that data in JSON format.

Steps to install and run in local system:-

  • Create a virtual environment python3 -m venv <env_name>
  • Activate virtual environment source <env_name>/bin/activate
  • Install requirements in venv pip install -r requirements.txt
  • Make migrations python manage.py makemigrations
  • Apply migrations python manage.py migrate
  • Create a super user python manage.py createsuperuser
  • Run the server python manage.py runserver