-
Notifications
You must be signed in to change notification settings - Fork 14
/
makefile
40 lines (30 loc) · 908 Bytes
/
makefile
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
docker-down:
docker-compose --env-file ./.env.docker \
-f docker-compose.yml \
-f docker-compose.yml down
docker-build:
docker-compose --env-file ./.env.docker \
-f docker-compose.yml \
-f docker-compose.yml build
docker-up:
docker-compose --env-file ./.env.docker \
-f docker-compose.yml \
-f docker-compose.yml up
docker: docker-down docker-build docker-up
tests:
./scripts/test.sh
setup-local: init
./scripts/setup-local.sh
setup-precommit:
./scripts/setup-pre-commit.sh
init: setup-precommit
go install github.com/volatiletech/sqlboiler/v4@latest
go install github.com/volatiletech/sqlboiler/v4/drivers/sqlboiler-psql@latest
go install github.com/rubenv/sql-migrate/...@latest
go mod vendor; go mod download; go mod tidy;
setup-ecs:
./scripts/setup-ecs.sh $(name) $(env)
update-ecs:
./scripts/update-ecs.sh $(name) $(env)
deploy-ecs:
./scripts/deploy-ecs.sh $(name) $(env)