17 lines
370 B
Makefile
17 lines
370 B
Makefile
all: docker prerequesits sass gorunapp
|
|
|
|
docker:
|
|
docker-compose -f Docker/compose.yml up -d
|
|
sleep 5
|
|
prerequesits:
|
|
mkdir -p ./app/cache
|
|
gorunapp:
|
|
cd app; \
|
|
go mod tidy; \
|
|
go run main.go
|
|
clean:
|
|
docker-compose -f Docker/compose.yml down
|
|
sudo rm ./app/cache -rf
|
|
sudo rm ./Docker/mariadb/mysql/* -rf
|
|
sass:
|
|
sass --watch ./webui/css/index.scss:./webui/css/index.css &
|