Icy
2a2aabf729
merge fix
2025-11-13 00:44:26 +08:00
icy
706c719248
chore: move shell scripts under scripts/ and update docs
2025-11-06 17:53:27 +08:00
icy
65053518d6
feat: implement hybrid database architecture and frontend encryption
...
- Add PostgreSQL + SQLite hybrid database support with automatic switching
- Implement frontend AES-GCM + RSA-OAEP encryption for sensitive data
- Add comprehensive DatabaseInterface with all required methods
- Fix compilation issues with interface consistency
- Update all database method signatures to use DatabaseInterface
- Add missing UpdateTraderInitialBalance method to PostgreSQL implementation
- Integrate RSA public key distribution via /api/config endpoint
- Add frontend crypto service with proper error handling
- Support graceful degradation between encrypted and plaintext transmission
- Add directory creation for RSA keys and PEM parsing fixes
- Test both SQLite and PostgreSQL modes successfully
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: tinkle-community <tinklefund@gmail.com >
2025-11-06 01:50:06 +08:00
icy
7674ce1da7
Fixed health check; Fixed dex config; Add rank trader info view;
2025-11-01 18:58:32 +08:00
icy
6c5de7e58f
Fix docker compose bug for config.db
2025-10-31 15:53:48 +08:00
icy
a3f2706ec8
Sync config.json to config.db for manual modify admin_mode and other configs
2025-10-31 15:24:18 +08:00
icy
28efd54e3d
start scrip fix
2025-10-31 14:41:45 +08:00
icy
43e678137a
start scrpit fix
2025-10-31 14:39:04 +08:00
icy
10533af715
start script fix about config.json
2025-10-31 14:16:47 +08:00
icy
46bf41b3f6
Restore config.json.example
2025-10-31 14:09:28 +08:00
icy
a8e3673e3c
Fix start script
2025-10-31 12:46:16 +08:00
d0lwl0b
b39399fe85
chore: update .dockerignore to exclude lock files
2025-10-30 00:28:39 +08:00
d0lwl0b
544e664c2b
chore: add environment variable support and enhance startup script
...
- Add .env.example template for configurable Docker deployment settings
- Update docker-compose.yml to support environment-driven port/timezone configuration
- Refactor start.sh with improved Docker Compose detection, environment validation, and automated frontend building
- Enhance script documentation and error handling for better maintainability
2025-10-29 22:35:01 +08:00
tinkle-community
c4b180b369
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: "真就让小白都能一键开始"
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: tinkle-community <tinklefund@gmail.com >
2025-10-29 18:29:49 +08:00