-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile
34 lines (26 loc) · 869 Bytes
/
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
# Helper script for setting up your apps local instance
# Contributors:
# Roy Keyes <[email protected]>
help:
@echo "Available tasks :"
@echo "\tcopyconfig - copy the available config files"
@echo "\tloadbower - load bower_components for the angular app"
@echo "\tvenvsetup - setup the venv for the application"
@echo "\tvenvrequire - install requirements in venv"
@echo "\tinstallrequire - install requirements for production server"
@echo "\tserve - start the server instance"
@echo "\ttestflask - run the basic testing suite for the flask app"
copyconfig:
@bash scripts/copyconfigs.sh
loadbower:
@bash scripts/loadbower.sh
venvsetup:
@bash scripts/setupvenv.sh venv
venvrequire:
@bash scripts/setupvenv.sh requirements
installrequire:
@pip install -r requirements.txt
serve:
@bash scripts/servelocal.sh
testflask:
@bash scripts/testflask.sh