-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
48 lines (39 loc) · 1 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
deploy:
git push heroku main
h_log:
heroku logs --tail
h_bash:
heroku run bash
txt:
poetry export -f requirements.txt --output requirements.txt
user:
poetry run python manage.py createsuperuser
h_user:
heroku run python manage.py createsuperuser
migrate:
poetry run python manage.py makemigrations
poetry run python manage.py migrate
python manage.py migrate --run-syncdb
h_migrate:
heroku run python manage.py makemigrations core
heroku run python manage.py migrate
run:
poetry run python manage.py runserver_plus
test:
poetry run pytest -vv
shell:
poetry run python manage.py shell_plus
note:
poetry run python manage.py shell_plus --notebook
server:
waitress-serve --listen=*:8000 quantitativeTrading.wsgi:application
co:
poetry run python manage.py collectstatic --noinput
css:
poetry run python manage.py sass-compiler
docker:
sudo systemctl start docker
docker-up:
docker compose -f "docker-compose.yml" up -d --build
db:
pgcli postgres://postgres:fdjk@localhost:5432/quantitativeTrading