refactor: reorganize project structure — consolidate Docker files, clean root
- Delete temp files: _tmp_analysis.py, nul, dashboard_screenshot.png - Move ea/ to archive/ea/ (deprecated) - Move 12 Docker helper scripts (.bat/.sh) to docker/scripts/ - Move 5 Docker docs to docker/docs/ - Move .env.docker.example, requirements-docker.txt to docker/ - Update all scripts with cd to project root for correct path resolution - Update all doc references to new paths - Update .gitignore with bot.pid, bot_output.log, *.png patterns - Update CLAUDE.md, README.md directory trees Root reduced from ~40 files to 12 essential files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
@echo off
|
||||
REM Remove Dashboard & API while keeping database
|
||||
cd /d "%~dp0..\.."
|
||||
|
||||
echo.
|
||||
echo ========================================
|
||||
echo Removing Dashboard & API Services
|
||||
echo ========================================
|
||||
echo.
|
||||
echo This will stop and remove:
|
||||
echo - trading_bot_dashboard
|
||||
echo - trading_bot_api
|
||||
echo.
|
||||
echo Database (trading_bot_db) will remain running.
|
||||
echo.
|
||||
pause
|
||||
|
||||
echo Stopping services...
|
||||
docker-compose stop trading-api dashboard
|
||||
|
||||
echo.
|
||||
echo Removing containers...
|
||||
docker-compose rm -f trading-api dashboard
|
||||
|
||||
echo.
|
||||
echo ========================================
|
||||
echo Dashboard Removed!
|
||||
echo ========================================
|
||||
echo.
|
||||
echo Database is still running:
|
||||
docker ps --filter "name=trading_bot_db" --format "table {{.Names}}\t{{.Status}}"
|
||||
echo.
|
||||
echo To add dashboard back: docker\scripts\docker-add-dashboard.bat
|
||||
echo.
|
||||
pause
|
||||
Reference in New Issue
Block a user