Start of makefile

This commit is contained in:
Janic Voser 2022-10-18 00:19:46 +02:00
parent 365fc9405d
commit f1d29c5ed1

37
makefile Normal file
View 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