Commit graph

3 commits

Author SHA1 Message Date
michael
2a50d15b14 Update deploy script to restart backend service instead of start
Changed systemctl start to systemctl restart to ensure backend code changes are always picked up during deployment, even when the service is already running.

Previous behavior: systemctl start would do nothing if service was running
New behavior: systemctl restart always stops and starts the service with fresh code

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 09:17:19 -06:00
michael
4d918ed037 Fix Vite environment variable loading during production build
Updated deploy.sh to copy .env file to frontend directory before building, ensuring Vite can access environment variables (including VITE_REDIRECT_URI) during the production build process. The temporary .env is cleaned up after build completes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 09:30:44 -06:00
michael
bd857ae015 extracted all domains, URLS, secrets, etc. to .env and wrote a deploy script to deploy on server 2025-11-12 16:27:59 -06:00