Skip to content

GomezDerek/auto-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 

Repository files navigation

Purpose

This project hosts a bash script that optimizes Veida AI's product deployment.

Problem

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

  1. copy the dev repo's front-end folder into the Vercel prod repo
  2. copy the dev repo's back-end folder into the Railway prod repo
  3. 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

Solution

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

About

Veida AI's CLI deployment script automates code transfer and API path replacement for Vercel & Railway - built with Bash

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages