Get Agentic-RAG up and running in 5 minutes!
# Check Java version (need 17+)
java -version
# Check Docker
docker --version
docker-compose --version
# Check Maven
mvn --versiongit clone <repository-url>
cd agentic-rag# Start all Docker services
./scripts/start.sh
# Or manually:
docker-compose up -d# Check all services are running
docker-compose ps
# Expected output: All services should show "healthy" or "running"# Full build with tests
mvn clean package
# Or skip tests for faster build
mvn clean package -DskipTests# Using Maven
mvn spring-boot:run
# Or using JAR
java -jar target/agentic-rag.jar# Health check
curl http://localhost:8080/actuator/health
# Sample chat request
curl -X POST http://localhost:8080/api/chat \
-H "Content-Type: application/json" \
-d '{
"query": "What is Agentic RAG?",
"sessionId": "test-001"
}'# Find process using port 8080
lsof -i :8080
# Kill the process
kill -9 <PID># Clean up and restart
docker-compose down -v
docker-compose up -d# Clean Maven cache
rm -rf ~/.m2/repository
mvn clean install -U- Explore API documentation at http://localhost:8080/swagger-ui.html
- Review the Project Plan for feature roadmap
- Read Architecture Documentation for system design
- Check CONTRIBUTING.md to contribute
# View logs
./scripts/logs.sh [service-name]
# Stop all services
./scripts/stop.sh
# Reset everything (⚠️ deletes data)
./scripts/reset.sh
# Run tests
mvn test
# Code quality check
mvn checkstyle:check spotbugs:check pmd:check- Start services:
./scripts/start.sh - Make changes: Edit code in
src/ - Run tests:
mvn test - Test locally:
mvn spring-boot:run - Commit: Follow conventional commits format
- Push & PR: Create pull request to
developbranch
- Documentation:
/docsdirectory - API Docs: http://localhost:8080/swagger-ui.html
- Health Check: http://localhost:8080/actuator/health
- Metrics: http://localhost:8080/actuator/metrics
- LLM Mock: http://localhost:8081
- Cloud Mock: http://localhost:8082
- OpenSearch: http://localhost:9200
- OpenSearch Dashboards: http://localhost:5601 (with dev profile)
Happy coding! 🚀