Backend for the new NUSSU commIT website.
- set new env (if not done yet) using
venv
orvirtualenv
- activate env
source {env folder}/bin/activate
- install dependencies (if not done yet) using
pip install -r requirements.txt
- start server:
python backend/manage.py runserver
(run fromyurnero-backend
)
- to test API endpoints: remember to place .env first inside of
backend/
. - create superuser (for admin stuff locally):
python backend/manage.py createsuperuser
- migrate:
python backend/manage.py migrate
- make migrations:
python backend/manage.py makemigrations