forked from vicalloy/django-lb-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (26 loc) · 900 Bytes
/
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
pyenv:
pipenv --python 3
pipenv install -d
pipenv shell
test:
coverage run ./runtests.py
run:
cd testproject;python manage.py runserver 0.0.0.0:9000
isort:
isort --recursive lbworkflow
upload:
python setup.py sdist --formats=gztar register upload
wfgen:
python testproject/wfgen.py
wfgen_clean:
python testproject/wfgen.py clean
reload_test_data:
cd testproject;python manage.py callfunc lbworkflow.wfdata.load_data
cd testproject;python manage.py callfunc lbworkflow.tests.wfdata.load_data
cd testproject;python manage.py callfunc lbworkflow.tests.leave.wfdata.load_data
cd testproject;python manage.py callfunc lbworkflow.tests.issue.wfdata.load_data
cd testproject;python manage.py callfunc lbworkflow.tests.purchase.wfdata.load_data
build_docker_image:
docker build -t lbworkflow:0.9 .
create_docker_container:
docker run -d -p 9000:9000 --name lbworkflow lbworkflow:0.9