Restrucuture

This commit is contained in:
janic
2022-04-29 01:00:04 +02:00
parent 2142461d36
commit e3a64aab16
17 changed files with 282 additions and 112 deletions

View File

@@ -1,3 +1,15 @@
dev:
all: docker prerequesits gorunapp
docker:
docker-compose -f Docker/compose.yml up -d
go run app/main/main.go
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