aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: e81f48dea51f58f972a3854a3e5b061bbc657127 (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
27
28
29
30
31
32
33
34
.PHONY: all
all: deploy

.PHONY: deploy
deploy: build serve

.PHONY: setup
setup:
	true

.PHONY: build
build:
	docker-compose build

.PHONY: serve
serve:
	docker-compose up -d

.PHONY: clean
clean:
	docker-compose down

.PHONY: gen
gen:
	@ruby nuldoc.rb

.PHONY: local_up
local_up:
	docker-compose -f docker-compose.local.yml up -d
	@echo http://localhost

.PHONY: local_down
local_down:
	docker-compose -f docker-compose.local.yml down