Skip to content

Commit 89e0633

Browse files
committed
2 parents 5e8dc66 + 4c54227 commit 89e0633

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Manage $(PROJECT_NAME). Usage:
77

88
make run - Run $(PROJECT_NAME) locally.
99
make install - Create local virtualenv & install dependencies.
10+
make deploy - Set up project & run locally.
1011
make update - Update dependencies via Poetry and output resulting `requirements.txt`.
1112
make format - Run Python code formatter & sort dependencies.
1213
make lint - Check code formatting with flake8.
@@ -16,7 +17,7 @@ endef
1617
export HELP
1718

1819

19-
.PHONY: run install update format lint clean help
20+
.PHONY: run install deploy update format lint clean help
2021

2122
all help:
2223
@echo "$$HELP"
@@ -41,6 +42,11 @@ install: env
4142
npm i -g less && \
4243
echo Installed dependencies in \`${VIRTUAL_ENV}\`;
4344

45+
.PHONY: deploy
46+
deploy:
47+
make install && \
48+
make run
49+
4450
.PHONY: test
4551
test: env
4652
$(LOCAL_PYTHON) -m \

0 commit comments

Comments
 (0)