This project hosts a bash script that optimizes Veida AI's product deployment.
Veida AI's deployment process is tedious and annoying. Check out Sancho's tutorial on our deployment process. Its development instance is hosted in one repository. However, its production instance is hosted in two repositories
- a front-end repo connected to Vercel
- a back-end repo connected to Railway
When deploying, we must
- copy the dev repo's front-end folder into the Vercel prod repo
- copy the dev repo's back-end folder into the Railway prod repo
- Replace all of our dev repo's DB API calls with Railway's API calls by copying and pasting the API links into Visual Studio's search and replace feature
This custom script automates deployment.
Directory paths and API paths are stored in a file so they only have to be written once.
After paths are set, simply running bash deploy.sh executes deployment steps 1, 2, & 3.
YEEEEHAWWWWWW