-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (31 loc) · 777 Bytes
/
Makefile
File metadata and controls
46 lines (31 loc) · 777 Bytes
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
35
36
37
38
39
40
41
42
43
44
45
46
dc = docker compose --file=compose.development.yml
build:
$(dc) build
up:
$(dc) up --build -t1 -d development
$(dc) logs -f development
down:
$(dc) down -t1
start:
$(dc) start development
stop:
$(dc) stop -t1 development
restart:
$(dc) restart -t1 development
logs:
$(dc) logs -f development
migrate:
$(dc) exec development bundle exec rake db:setup
$(dc) exec development bundle exec rake db:migrate
seed:
$(dc) exec development bundle exec rake db:seed
swagger:
$(dc) exec development bundle exec rake rswag
lint:
$(dc) up --build -t1 -d development
$(dc) exec development bundle exec rubocop -A
test:
$(dc) up --build -t1 test
shell:
$(dc) exec development sh
.PHONY: build up down start stop restart logs migrate seed swagger lint test shell