Files
tp/serv_nginx/Makefile
T
2025-10-19 05:58:10 +05:00

42 lines
710 B
Makefile

all: git stop_bb build_bb run_bb npm_clean rebuild_bbvue api_bb_logs
api_bb: git stop_bb build_bb run_bb api_bb_logs
git:
git pull
stop_bb:
docker compose down api_bb
build_bb:
docker compose build api_bb --no-cache
run_bb:
docker compose up api_bb -d
bb_db:
docker exec -it serv_nginx-db-1 sh -c "psql -U postgres -d bb_db
api_bb_logs:
docker logs api_bb -f
restart:
docker compose down && docker compose up -d
stop_nginx:
docker compose down nginx
build_nginx:
docker compose build nginx --no-cache
run_nginx: stop_nginx build_nginx
docker compose up nginx -d
npm_clean:
npm cache clean --force
rebuild_bbvue:
cd bbvue && npm run build
pbl: git npm_clean rebuild_bbvue api_bb_logs