aboutsummaryrefslogblamecommitdiffstats
path: root/Makefile
blob: c5efe3738290fb6b144bbc9732ff1ce2bf49e270 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                        
              
                                                       
 


                                                      

                             






                                                                                  

                     
build:
	@docker build -t dbasik:latest .

run-container:
	@docker run -it --rm -p 4000:4000 dbasik:latest

debug:
	@docker compose -f ./debug/dockerfile-debug up

run:
	@docker compose up -d

migrate:
	docker exec -it dbasik-db-1 migrate -path=${DBASIK_DB_DSN} -database= up

migrate-down:
	docker exec -it dbasik-db-1 migrate -path=${DBASIK_DB_DSN} -database= down

test:
	go test ./...