-
Setup environment variables:
cp .env.local.example .env.local # Edit .env.local with your SECRET_KEY (see ENV.md for details)
-
Start development environment:
./scripts/dev.sh
-
Access the application:
- Website: http://localhost:8000
- Admin: http://localhost:8000/admin (admin/admin)
- Health: http://localhost:8000/health/
- Environment Configuration - Environment variables setup
- Docker Setup - Docker configuration details
- Production Deployment - Production deployment guide
# View logs
docker compose logs -f
# Stop environment
docker compose down
# Restart web service (after code changes)
docker compose restart web
celery -A infobus_data worker --loglevel=info
celery -A infobus_data beat --scheduler django_celery_beat.schedulers:DatabaseScheduler --loglevel=info
- Django with Channels (ASGI)
- PostgreSQL with PostGIS
- Redis for caching and Celery
- Celery for background tasks
- Docker for containerization
- Nginx for production reverse proxy