Start of makefile
This commit is contained in:
parent
365fc9405d
commit
f1d29c5ed1
37
makefile
Normal file
37
makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# Make all
|
||||
all: db api ui
|
||||
|
||||
# Start everything
|
||||
start: db-start api-start ui-start
|
||||
|
||||
# Stop everything
|
||||
stop: ui-stop api-stop db-stop
|
||||
|
||||
# Setup Database
|
||||
db: db-init db-start
|
||||
|
||||
db-init:
|
||||
|
||||
db-start:
|
||||
|
||||
db-stop:
|
||||
|
||||
# Setup API
|
||||
api: api-start
|
||||
|
||||
api-start:
|
||||
|
||||
api-stop:
|
||||
|
||||
# Setup UI
|
||||
ui: ui-start
|
||||
|
||||
ui-start:
|
||||
|
||||
ui-stop:
|
||||
|
||||
# Regenerate configs
|
||||
config: config-regenerate
|
||||
|
||||
config-regenerate:
|
||||
python config/template.py
|
Loading…
Reference in New Issue
Block a user