-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPipfile
40 lines (35 loc) · 992 Bytes
/
Pipfile
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
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[scripts]
dev = "python app/manage.py runserver 0.0.0.0:$APP_PORT"
prod = "gunicorn --chdir app app.wsgi:application --bind 0.0.0.0:$APP_PORT --log-file=./../logs/error.log -w $APP_WORKERS"
channels = "bash -c 'cd app && daphne -b 0.0.0.0 -p $CHANNELS_PORT app.asgi:application'"
dump = "python app/manage.py dumpdata -e sessions -e admin -e contenttypes -e auth.Permission --indent 4 > data/web_app/dump.json"
seed = "python app/manage.py loaddata data/web_app/dump.json"
[packages]
django = "*"
django-environ = "*"
psycopg2 = "*"
djangorestframework = "*"
drf-yasg = "*"
djangorestframework-simplejwt = "*"
redis = "*"
django-cors-headers = "*"
django-summernote = "*"
gunicorn = "*"
channels = "*"
channels-redis = "*"
daphne = "*"
backports-zoneinfo = "*"
asgiref = "*"
[dev-packages]
mypy = "*"
flake8 = "*"
black = "*"
pre-commit = "*"
[requires]
python_version = "3.8"
[pipenv]
allow_prereleases = true