API for wheatley app
- Python 3
- Django REST Framework
sh ./run.sh start - run python server
sh ./run.sh install - pip install -r requirements.txt
To go inside virtual env
source venv/bin/activate
To install deps
pip install -r requirements.txt
To save deps
pip freeze > requirements.txt
creating django apps
python manage.py startapp nameoftheapp
update db with migration
python manage.py migrate
creating migrations from models
python manage.py makemigrations
create superuser
python manage.py createsuperuser
python3 manage.py shell
To run dev server:
python manage.py runserver