File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change
1
+ docker-build:
2
+ docker build -t pingcrm .
3
+
4
+ docker-run:
5
+ docker run -p 8000:8000 pingcrm
1
6
2
7
update:
3
8
pip-compile -o requirements.txt
@@ -6,10 +11,13 @@ setup:
6
11
pip install -r requirements.txt
7
12
pip install coverage pip-tools
8
13
npm install
14
+ npm run build
9
15
python manage.py migrate
10
16
python populate.py
11
- python manage.py createsuperuser
17
+ python manage.py createsuperuser
--username admin --email [email protected]
12
18
13
19
test:
14
20
coverage run manage.py test
15
21
coverage report
22
+
23
+ all: setup test docker-build
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ marshmallow
6
6
inertia-django
7
7
gunicorn
8
8
django-webserver[gunicorn]
9
+ bake-cli
Original file line number Diff line number Diff line change 5
5
# pip-compile --output-file=requirements.txt
6
6
#
7
7
asgiref == 3.2.3 # via django
8
+ bake-cli == 0.12.0
9
+ click == 7.1.1 # via bake-cli
10
+ colorama == 0.4.3 # via bake-cli
11
+ decorator == 4.4.2 # via networkx
12
+ delegator.py == 0.1.1 # via bake-cli
8
13
django-js-routes == 0.1.3
9
14
django-seed == 0.2.2
10
15
django-test-plus == 1.4.0
@@ -14,6 +19,10 @@ faker==4.0.0 # via django-seed
14
19
gunicorn == 20.0.4
15
20
inertia-django == 0.2.2
16
21
marshmallow == 3.4.0
22
+ networkx == 2.4 # via bake-cli
23
+ pexpect == 4.8.0 # via delegator.py
24
+ ptyprocess == 0.6.0 # via pexpect
25
+ pygments == 2.6.1 # via bake-cli
17
26
python-dateutil == 2.8.1 # via faker
18
27
pytz == 2019.3 # via django
19
28
six == 1.14.0 # via python-dateutil
You can’t perform that action at this time.
0 commit comments