forked from dvndrsn/graphql-python-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.cmd
More file actions
31 lines (31 loc) · 778 Bytes
/
build.cmd
File metadata and controls
31 lines (31 loc) · 778 Bytes
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
echo
echo Setup pipenv: global install for virtual environment management
echo
pip install pipenv
echo
echo Install dependencies: use pipenv to install dev dependencies
echo
pipenv install --dev
echo
echo Install DB: Using SQLite - no install required
echo
echo
echo Migrate DB: Use Django to migrate DB to latest version
echo
pipenv run ./manage.py migrate
echo
echo Setup seed: Use Django to load seed file with default data
echo
pipenv run ./manage.py loaddata story/fixture.json
echo
echo Check style: Use pylint to check coding style standards
echo
pipenv run pylint **/*.py
echo
echo Check types: Use mypy to check static type annotations
echo
pipenv run mypy **/*.py
echo
echo Check tests: Use unittest to check application functionality
echo
pipenv run ./manage.py test