# Clone and setup
git clone <repo-url>
cd ariealsiteintelligence
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
# Install dependencies
pip install -r requirements.txt
# Configure environment
cp .env.example .env
# Edit .env with your AWS and OpenAI API keys# Start all services
docker-compose up -d
# Run migrations
docker-compose exec django python manage.py migrate
# Create superuser
docker-compose exec django python manage.py createsuperuser
# Visit http://localhost:8000# Start PostgreSQL and Redis (locally or via Docker)
# Update .env with local database and Redis URLs
# Run migrations
python manage.py migrate
# Start dev server
python manage.py runserver
# In separate terminal, start Celery
celery -A aerial_site_intelligence worker -l info- Go to http://localhost:8000/admin
- Create a Site
- Create a Mission for that Site
- Upload image via API:
curl -X POST http://localhost:8000/api/images/ \
-H "Authorization: Token YOUR_TOKEN" \
-F "image=@test_image.jpg" \
-F "mission=1" \
-F "captured_at=2024-01-01T12:00:00Z"ariealsiteintelligence/
├── aerial_site_intelligence/
│ ├── core/ # Django models
│ ├── api/ # REST endpoints
│ ├── config/ # Django settings
│ ├── aws_integration/ # AWS services
│ ├── vlm_pipeline/ # GPT-4o Vision
│ ├── agent_memory/ # Persistent memory
│ └── tasks/ # Celery tasks
├── deploy/ # Deployment files
├── tests/ # Test suite
├── manage.py # Django CLI
├── requirements.txt # Dependencies
├── docker-compose.yml # Service orchestration
└── README.md # Full documentation
✅ Vision-Language Model Integration - GPT-4o Vision for scene understanding ✅ Multi-Modal Detection - Rekognition + SageMaker inference ✅ Persistent Agent Memory - Autonomous reasoning about site history ✅ Async Processing - Celery for scalable image processing ✅ RESTful API - Complete CRUD operations ✅ Docker Ready - Full docker-compose setup ✅ AWS Integration - CloudFormation templates included ✅ Production Ready - Gunicorn, NGINX config included
- Configure AWS credentials in .env
- Set up OpenAI API key
- Create Sites and Missions via admin or API
- Upload drone images and watch them get processed
- View anomalies and alerts in real-time
- Deploy to AWS using CloudFormation template
# Admin panel
http://localhost:8000/admin
# API documentation
http://localhost:8000/api/
# Celery monitoring
celery -A aerial_site_intelligence flower
# View logs
docker-compose logs -f
# Database migrations
python manage.py makemigrations
python manage.py migrate
# Run tests
python manage.py testImages not processing?
- Check Celery worker:
docker-compose logs celery - Verify Redis:
redis-cli ping - Check AWS credentials in .env
API authentication issues?
- Create token:
python manage.py drf_create_token username - Add header:
Authorization: Token YOUR_TOKEN
Database errors?
- Check PostgreSQL:
docker-compose exec db psql -U postgres - Run migrations:
python manage.py migrate
See README.md for complete documentation.