18 lines
402 B
Makefile
18 lines
402 B
Makefile
|
devserver:
|
||
|
-@mkdir -p static
|
||
|
python manage.py makemigrations
|
||
|
python manage.py migrate
|
||
|
python manage.py createcachetable
|
||
|
yes yes | python manage.py collectstatic
|
||
|
python manage.py runserver 0.0.0.0:8000
|
||
|
|
||
|
server:
|
||
|
python manage.py migrate
|
||
|
uvicorn webproj.asgi:application --lifespan off --host 0.0.0.0 --workers 12
|
||
|
|
||
|
prepare:
|
||
|
python manage.py loadhashes
|
||
|
|
||
|
dumpresults:
|
||
|
python manage.py dumpresults
|