File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Manage $(PROJECT_NAME). Usage:
7
7
8
8
make run - Run $(PROJECT_NAME ) locally.
9
9
make install - Create local virtualenv & install dependencies.
10
+ make deploy - Set up project & run locally.
10
11
make update - Update dependencies via Poetry and output resulting `requirements.txt`.
11
12
make format - Run Python code formatter & sort dependencies.
12
13
make lint - Check code formatting with flake8.
16
17
export HELP
17
18
18
19
19
- .PHONY : run install update format lint clean help
20
+ .PHONY : run install deploy update format lint clean help
20
21
21
22
all help :
22
23
@echo " $$ HELP"
@@ -41,6 +42,11 @@ install: env
41
42
npm i -g less && \
42
43
echo Installed dependencies in \` ${VIRTUAL_ENV} \` ;
43
44
45
+ .PHONY : deploy
46
+ deploy :
47
+ make install && \
48
+ make run
49
+
44
50
.PHONY : test
45
51
test : env
46
52
$(LOCAL_PYTHON ) -m \
You can’t perform that action at this time.
0 commit comments