mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-13 15:57:01 +08:00
Docs: Add Docker one-click deployment support for all languages
Complete Docker deployment solution with beginner-friendly documentation: **New Docker Files:** - `Dockerfile` - Multi-stage Go backend build with health checks - `web/Dockerfile` - Frontend build with Nginx and API proxy - `docker-compose.yml` - Full orchestration with service dependencies - `.dockerignore` & `web/.dockerignore` - Build optimization - `start.sh` - Convenient management script (start/stop/logs/status) **Comprehensive Documentation:** - `DOCKER_DEPLOY.md` (中文) - Complete Chinese deployment guide - `DOCKER_DEPLOY.en.md` (English) - Complete English deployment guide - Prerequisites & Docker installation (macOS/Windows/Linux) - 3-step quick start (config → start → access) - Service management commands - Advanced configuration (ports, resources, env vars) - Data persistence & backups - Comprehensive troubleshooting - Security recommendations - Production deployment (Nginx, HTTPS, Docker Swarm) - Monitoring & logging setup **README Updates (All 4 Languages):** - README.md (English) - README.zh-CN.md (中文) - README.uk.md (Українська) - README.ru.md (Русский) Added prominent "Option A: Docker One-Click Deployment" section at the beginning of Quick Start in all languages. Clearly marked as EASIEST method for beginners. Shows 3 simple steps with command examples and links to detailed DOCKER_DEPLOY docs. **Key Features:** - One-command deployment: `./start.sh start --build` - Auto-handles all dependencies (Go, Node.js, TA-Lib) - Health checks for both services - Data persistence (logs, cache, config) - Log rotation (10MB × 3 files) - Easy service management - Beginner-friendly for complete newcomers **User Benefits:** - No need to install Go, Node.js, or TA-Lib manually - Works on macOS, Windows, Linux - Perfect for non-developers - Production-ready with best practices This makes NOFX truly accessible to beginners as requested: "真就让小白都能一键开始" Co-Authored-By: tinkle-community <tinklefund@gmail.com>
This commit is contained in:
49
README.ru.md
49
README.ru.md
@@ -102,6 +102,55 @@
|
||||
|
||||
## 🚀 Быстрый старт
|
||||
|
||||
### 🐳 Вариант A: Docker развертывание в один клик (ПРОЩЕ ВСЕГО - Рекомендуется для новичков!)
|
||||
|
||||
**⚡ Начните торговать за 3 простых шага с Docker - Не нужно ничего устанавливать!**
|
||||
|
||||
Docker автоматически обрабатывает все зависимости (Go, Node.js, TA-Lib) и настройку среды. Идеально для новичков!
|
||||
|
||||
#### Шаг 1: Подготовьте конфигурацию
|
||||
```bash
|
||||
# Скопируйте шаблон конфигурации
|
||||
cp config.json.example config.json
|
||||
|
||||
# Отредактируйте и заполните ваши API ключи
|
||||
nano config.json # или используйте любой редактор
|
||||
```
|
||||
|
||||
#### Шаг 2: Запуск в один клик
|
||||
```bash
|
||||
# Вариант 1: Используйте удобный скрипт (Рекомендуется)
|
||||
chmod +x start.sh
|
||||
./start.sh start --build
|
||||
|
||||
# Вариант 2: Используйте docker-compose напрямую
|
||||
docker-compose up -d --build
|
||||
```
|
||||
|
||||
#### Шаг 3: Доступ к панели
|
||||
Откройте в браузере: **http://localhost:3000**
|
||||
|
||||
**Вот и все! 🎉** Ваша AI торговая система теперь работает!
|
||||
|
||||
#### Управление вашей системой
|
||||
```bash
|
||||
./start.sh logs # Просмотреть логи
|
||||
./start.sh status # Проверить статус
|
||||
./start.sh stop # Остановить сервисы
|
||||
./start.sh restart # Перезапустить сервисы
|
||||
```
|
||||
|
||||
**📖 Подробное руководство по развертыванию Docker, устранению неполадок и расширенной конфигурации:**
|
||||
- **Русский**: См. документацию Docker (скоро будет доступно)
|
||||
- **English**: See [DOCKER_DEPLOY.en.md](DOCKER_DEPLOY.en.md)
|
||||
- **中文**: 查看 [DOCKER_DEPLOY.md](DOCKER_DEPLOY.md)
|
||||
|
||||
---
|
||||
|
||||
### 📦 Вариант B: Ручная установка (Для разработчиков)
|
||||
|
||||
**Примечание**: Если вы использовали развертывание Docker выше, пропустите этот раздел. Ручная установка нужна только если вы хотите изменить код или запустить без Docker.
|
||||
|
||||
### 1. Требования к среде
|
||||
|
||||
- **Go 1.21+**
|
||||
|
||||
Reference in New Issue
Block a user