fix: check.sh — не падать до docker compose, проверка после старта
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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`:
|
||||
|
||||
Reference in New Issue
Block a user