This file gets you running fast in a development environment.
- Docker (>= 20.10)
- docker-compose (>= 1.29) or Docker Compose V2
- Node.js (>= 18) for frontend development
- PHP / Composer only if using legacy modules (optional)
git clone https://github.com/REChain-Network-Solutions/AIPlatform.git
cd AIPlatformcp .env.example .env
# Edit .env if necessarydocker compose -f docker-compose.yml up --buildFor advanced multi-service:
docker compose -f docker-compose.advanced.yml up --build- Frontend: http://localhost:3000 (or the port in
.env) - API: http://localhost:8000
# Backend tests (example)
docker exec -it ai-platform-api php artisan test
# Frontend tests
cd app && npm ci && npm test- Permission errors with Docker volumes: ensure correct UID/GID or use
:delegatedvolumes. - Ports busy: check
lsof -i :<port>and update.env - Check logs:
docker compose logs -f
For production deployment and scaling, see DEPLOYMENT.md.