chore: Remove Dockerfile and docker-compose.yml, update README and migration guide for backend log checks
Some checks failed
Documentation / build-docs (push) Has been cancelled
Tests / test (macos-latest, 3.11) (push) Has been cancelled
Tests / test (macos-latest, 3.12) (push) Has been cancelled
Tests / test (macos-latest, 3.13) (push) Has been cancelled
Tests / test (macos-latest, 3.14) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.11) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.12) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.13) (push) Has been cancelled
Tests / test (ubuntu-latest, 3.14) (push) Has been cancelled

This commit is contained in:
kfox
2026-01-02 22:46:03 -05:00
parent 6834655e03
commit 3c6770acf5
134 changed files with 3025 additions and 18054 deletions

View File

@@ -44,8 +44,7 @@ crypto_trader/
│ ├── pages/ # Page components
│ ├── api/ # API client
│ └── ...
── src/ # Existing Python code (unchanged)
└── docker-compose.yml
── src/ # Existing Python code (unchanged)
```
## What Was Preserved
@@ -67,7 +66,6 @@ crypto_trader/
- **UI Layer**: PyQt6 widgets → React components
- **Communication**: Direct function calls → HTTP API
- **Real-time Updates**: Signal/slot → WebSocket
- **Deployment**: AppImage → Docker
## Migration Steps
@@ -92,13 +90,6 @@ Created React frontend with:
- TypeScript for type safety
- WebSocket for real-time updates
### 3. Docker Deployment
Created Docker setup for easy deployment:
- Multi-stage build (frontend + backend)
- Single container deployment
- Volume mounts for data persistence
## Running the New Architecture
### Development
@@ -116,13 +107,7 @@ Created Docker setup for easy deployment:
npm run dev
```
### Production
```bash
docker-compose up --build
```
Access at: http://localhost:8000
Access at: http://localhost:3000 (frontend) and http://localhost:8000 (API)
## API Endpoints
@@ -194,10 +179,9 @@ const { lastMessage } = useWebSocket('ws://localhost:8000/ws/')
1. **Modern UI**: Access to entire web ecosystem
2. **Cross-platform**: Works on any device
3. **Easier deployment**: Docker vs AppImage
4. **Better development**: Hot-reload, better tooling
5. **Maintainability**: Easier to update
6. **Accessibility**: Access from anywhere
3. **Better development**: Hot-reload, better tooling
4. **Maintainability**: Easier to update
5. **Accessibility**: Access from anywhere
## Backward Compatibility
@@ -219,4 +203,4 @@ The existing Python code remains unchanged. You can still:
For issues or questions:
- Check API docs: http://localhost:8000/docs
- Review deployment guide: `docs/deployment/web_architecture.md`
- Check backend logs: `docker-compose logs`
- Check backend logs in the terminal where uvicorn is running