Deploy to Production
- •Run
cd go-app && go test ./...— fix any failures - •Run
cd go-app && go build -o server .— verify build succeeds - •Run
pm2 restart autolytiq-go— restart production server - •Run
curl -s -o /dev/null -w "%{http_code}" http://localhost:5000/health— confirm 200 - •Run
curl -s -o /dev/null -w "%{http_code}" https://autolytiqs.com/— confirm live site 200 - •Commit changes:
git add -A && git commit -m "<summarize changes>" - •Push:
git push origin main