Skip to content

Commit 5e1e19b

Browse files
author
Andres Vargas
committed
adding a Makefile
1 parent 944e9af commit 5e1e19b

File tree

4 files changed

+64
-34
lines changed

4 files changed

+64
-34
lines changed

Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
update:
3+
pip-compile -o requirements.txt
4+
5+
setup:
6+
pip install -r requirements.txt
7+
pip install coverage pip-tools
8+
npm install
9+
python manage.py migrate
10+
python populate.py
11+
python manage.py createsuperuser
12+
13+
test:
14+
coverage run manage.py test
15+
coverage report

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@
1212
### For run
1313

1414
```bash
15-
pip install -r requirements.txt
16-
npm install
17-
python manage.py migrate
18-
python populate.py
19-
python manage.py createsuperuser
15+
make setup
2016
npm run dev
2117
```
2218

package-lock.json

Lines changed: 30 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements.txt

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
#
2-
# This file is autogenerated by pip-compile
3-
# To update, run:
4-
#
5-
# pip-compile --output-file='.\requirements.txt'
6-
#
7-
asgiref==3.2.3 # via django
8-
django-js-routes==0.1.3
9-
django-seed==0.2.2
10-
django-test-plus==1.4.0
11-
django==3.0.3
12-
faker==4.0.0 # via django-seed
13-
marshmallow==3.4.0
14-
python-dateutil==2.8.1 # via faker
15-
pytz==2019.3 # via django
16-
six==1.14.0 # via python-dateutil
17-
sqlparse==0.3.0 # via django
18-
text-unidecode==1.3 # via faker
1+
#
2+
# This file is autogenerated by pip-compile
3+
# To update, run:
4+
#
5+
# pip-compile --output-file=requirements.txt
6+
#
7+
asgiref==3.2.3 # via django
8+
django-js-routes==0.1.3
9+
django-seed==0.2.2
10+
django-test-plus==1.4.0
11+
django==3.0.3
12+
faker==4.0.0 # via django-seed
13+
marshmallow==3.4.0
14+
python-dateutil==2.8.1 # via faker
15+
pytz==2019.3 # via django
16+
six==1.14.0 # via python-dateutil
17+
sqlparse==0.3.0 # via django
18+
text-unidecode==1.3 # via faker

0 commit comments

Comments
 (0)