fix: check.sh — не падать до docker compose, проверка после старта

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
shop
2026-05-16 17:38:35 +03:00
parent 5c1be7da21
commit b6d97f8a73
6 changed files with 151 additions and 36 deletions
+5 -5
View File
@@ -25,17 +25,17 @@ cd shop3
chmod +x install.sh check.sh
./install.sh
# 3. Проверка версий
./check.sh
# 4. Запуск
# 3. Запуск
docker compose up --build -d
# 4. Проверка (после старта контейнеров)
./check.sh --after-start
```
Одной цепочкой (после клона введите ответы установщика):
```bash
git clone https://git.evilfox.cc/test/shop3.git && cd shop3 && chmod +x install.sh check.sh && ./install.sh && ./check.sh && docker compose up --build -d
git clone https://git.evilfox.cc/test/shop3.git && cd shop3 && chmod +x install.sh check.sh && ./install.sh && docker compose up --build -d && ./check.sh --after-start
```
С Go на сервере вместо `install.sh`: