37 lines
393 B
Makefile
37 lines
393 B
Makefile
# 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
|