Skip to content

Make-a-Ton/ca-program

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages