If you donโt have python3-venv installed or want Docker-only deployment:
SKIP_VENV=true ./scripts/deploy.sh local
This will:
If you have python3-venv installed:
./scripts/deploy.sh local
This will:
Note: If you get an error about python3-venv, either:
sudo apt install python3.12-venv (then run without SKIP_VENV)SKIP_VENV=true ./scripts/deploy.sh local# 1. Configure Terraform (first time only)
cd infrastructure/terraform
cp terraform.tfvars.example terraform.tfvars
# Edit terraform.tfvars with your AWS credentials
# 2. Deploy
cd ../..
./scripts/deploy.sh production prod
# Check services
docker-compose ps
# Test API
curl http://localhost:8000/api/v1/auth/health
# Check deployments
kubectl get deployments -n gennet-system
# Check pods
kubectl get pods -n gennet-system
./scripts/undeploy.sh local
# Or
docker-compose down
./scripts/undeploy.sh production
Option 1: Install python3-venv (Recommended if you need Python tools)
sudo apt update
sudo apt install python3.12-venv
./scripts/deploy.sh local
Option 2: Skip venv (Docker-only deployment)
SKIP_VENV=true ./scripts/deploy.sh local
# Check Docker is running
docker info
# If not, start Docker
sudo systemctl start docker # Linux
# Or start Docker Desktop on macOS/Windows
# Check what's using port 8000
sudo lsof -i :8000
# Stop conflicting service or change port in docker-compose.yml
# View logs
docker-compose logs -f
# Check service status
docker-compose ps
See docs/TROUBLESHOOTING.md for detailed troubleshooting or docs/DEPLOYMENT_GUIDE.md for complete documentation.
# Deploy with tests (requires venv)
RUN_TESTS=true ./scripts/deploy.sh local
# Skip Docker build (use existing images)
SKIP_BUILD=true ./scripts/deploy.sh local
# Docker-only (skip Python venv)
SKIP_VENV=true ./scripts/deploy.sh local
# Show help
./scripts/deploy.sh --help
# Docker-only (easiest)
SKIP_VENV=true ./scripts/deploy.sh local
# Install python3-venv first
sudo apt install python3.12-venv
# Full deployment
./scripts/deploy.sh local
docker-compose restart
docker-compose down -v
SKIP_VENV=true ./scripts/deploy.sh local