summaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 9c0759a33f6cbd6c9f471bb6576906de253ad906 (plain)
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
.PHONY: all
all: deploy

.PHONY: deploy
deploy: clean build serve

.PHONY: provision
provision:
	sudo sh provisioning/run.sh

.PHONY: build
build:
	cd services/blog; make build
	cd services/repos; make build

.PHONY: serve
serve:
	sudo systemctl start mioproxy
	cd services/blog; make serve
	cd services/repos; make serve

.PHONY: clean
clean:
	cd services/repos; make clean
	cd services/blog; make clean
	sudo systemctl stop mioproxy