-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (15 loc) · 744 Bytes
/
Makefile
File metadata and controls
20 lines (15 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
build:
@go build -ldflags="-w -s -extldflags '-static' -X main.VERSION=$${version:?}" .
@chmod +x ./go-boilerplate
start-dev:
@docker compose --project-directory ./ -f ./ci/compose/go-boilerplate-local-dev.yaml up
quick-start:
-@mkdir -p ./ci/data/sqlite
@touch ./ci/data/sqlite/sqlite.db
@docker compose --project-directory ./ -f ./ci/compose/quick-start.yaml up --force-recreate --remove-orphans
quick-start-mysql:
-@mkdir -p ./ci/data/mysql
@docker compose --project-directory ./ -f ./ci/compose/quick-start-mysql.yaml up --force-recreate --remove-orphans
quick-start-postgres:
-@mkdir -p ./ci/data/postgres
@docker compose --project-directory ./ -f ./ci/compose/quick-start-postgres.yaml up --force-recreate --remove-orphans