31 lines
333 B
Makefile
31 lines
333 B
Makefile
#DEV
|
|
|
|
dev:
|
|
rm ./main
|
|
go build ./cmd/main.go
|
|
./main
|
|
|
|
prod:
|
|
systemctl restart fullstream.service
|
|
systemctl daemon-reload
|
|
|
|
|
|
|
|
build:
|
|
docker compose build
|
|
|
|
dev: build
|
|
docker compose up -d --force-recreate
|
|
|
|
logs:
|
|
docker compose logs -f
|
|
|
|
devf: dev
|
|
docker compose logs -f
|
|
|
|
stop:
|
|
docker compose stop
|
|
|
|
start:
|
|
docker compose start
|