diff --git a/README.md b/README.md index acf865b..3645205 100644 --- a/README.md +++ b/README.md @@ -470,57 +470,25 @@ saac logs --follow ### How to Debug -**Open remote shell:** +**Check deployment logs:** ```bash -saac shell +saac logs --follow ``` -**Inside the container:** +**View environment variables:** ```bash -# Check if app is running -ps aux | grep node +saac env list +``` -# View environment variables -printenv - -# Check database connection -nc -zv postgres 5432 - -# Check Redis connection -nc -zv redis 6379 - -# View application logs -tail -f /var/log/app.log +**Check application status:** +```bash +saac status ``` --- ## Advanced Configuration -### Custom Domain - -To use a custom domain instead of `*.startanaicompany.com`: - -```bash -saac domain add yourdomain.com - -# Update Traefik labels in docker-compose.yml -# Then redeploy -saac deploy -``` - -### Resource Limits - -Set CPU and memory limits: - -```bash -saac update \ - --cpu-limit 2 \ - --memory-limit 2G - -saac deploy -``` - ### Pre-deployment Scripts Run database migrations before deployment: