-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPipfile
48 lines (44 loc) · 1.2 KB
/
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
41
42
43
44
45
46
47
48
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
django = "*"
django-allauth = "*"
django-cors-headers = "*"
django-dotenv = "*"
django-filter = "*"
django-secure = "*"
django-sslserver = "*"
djangorestframework = "*"
djangorestframework-simplejwt = "*"
dj-rest-auth = "*"
coreapi = "*"
cryptography = "*"
gunicorn = "*"
markdown = "*"
pyyaml = "*"
whitenoise = "*"
django-csp = "*"
django-permissions-policy = "*"
[dev-packages]
autopep8 = "*"
mixer = "*"
pytest = "*"
pytest-cov = "*"
pytest-django = "*"
[requires]
python_version = "3.10"
[scripts]
dev = "python manage.py runsslserver --certificate cert/localhost.crt --key cert/localhost.key"
prod = "gunicorn -c config/gunicorn/prod.py"
test = "pytest tests --cov=api"
coverage = "pytest tests --cov=api --cov-report xml:cov.xml"
loaddress = "python manage.py loaddata api/fixtures/dress.json"
su = "python manage.py createsuperuser"
loadloans = "python manage.py loaddata api/fixtures/dressLoan.json"
loadall = "python manage.py loaddata api/fixtures/all.json"
mkm = "python manage.py makemigrations"
mkmapi = "python manage.py makemigrations api"
migrate = "python manage.py migrate"
migrateapi = "python manage.py migrate api"