2022-05-11 00:47:22 +02:00
|
|
|
all: docker prerequesits sass gorunapp
|
2022-04-29 01:00:04 +02:00
|
|
|
|
|
|
|
docker:
|
2022-04-18 23:35:16 +02:00
|
|
|
docker-compose -f Docker/compose.yml up -d
|
2022-04-29 01:00:04 +02:00
|
|
|
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
|
2022-05-11 00:47:22 +02:00
|
|
|
sudo rm ./Docker/mariadb/mysql/* -rf
|
|
|
|
sass:
|
2022-11-06 23:40:37 +01:00
|
|
|
sass --watch ./webui/css/index.scss:./webui/css/index.css &
|
|
|
|
ui-test:
|
|
|
|
cd ui; env CHROME_BIN=/usr/bin/chromium npm test
|