Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 622 Bytes

readme.md

File metadata and controls

45 lines (32 loc) · 622 Bytes

Commands

setup up python env (linux)

python3 -m venv env
source env/bin/activate
pip install -r requirements.txt

set up python env (windows)

  • comment out psycopg2-binary==2.9.6 in requirements.txt
  • uncomment this line before pushing
python -m venv env
.\env\Scripts\activate
pip install -r requirements.txt

migrate database

python manage.py migrate

run Server

python manage.py runserver

create superuser

python manage.py createsuperuser

if changes in models

python manage.py makemigrations
python manage.py migrate