-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
52 lines (38 loc) · 1.07 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
init::
python -m pip install --upgrade pip
python -m pip install pip-tools
python -m piptools compile requirements/dev-requirements.in
python -m piptools compile requirements/requirements.in
python -m piptools sync requirements/dev-requirements.txt requirements/requirements.txt
python -m pre_commit install
npm install
reqs:
python -m piptools compile requirements/dev-requirements.in
python -m piptools compile requirements/requirements.in
sync:
python -m piptools sync requirements/requirements.txt requirements/dev-requirements.txt
upgrade:
python -m piptools compile --upgrade requirements/dev-requirements.in
python -m piptools compile --upgrade requirements/requirements.in
python -m piptools sync requirements/requirements.txt requirements/dev-requirements.txt
black:
black .
black-check:
black --check .
flake8:
flake8 .
isort:
isort --profile black .
lint: black-check flake8
run::
flask run
watch:
npm run watch
upgrade-db:
flask db upgrade
downgrade-db:
flask db downgrade
load-data:
flask data load --spec 1 --config 1
drop-data:
flask data drop