-
Notifications
You must be signed in to change notification settings - Fork 2
Current Deployment
Daniel Floyd edited this page Jul 28, 2020
·
2 revisions
- Currently we have an odd way of deploying so we can continue to use GitKraken. Once we have a paid version of GitKraken we will be adding a real CICD process.
- Create a netlify account
- Change into the client directory
cd client
- Run the build script
npm run build
- Drop build folder onto netlify
- First Time Setup
- Create a deployment folder outside of our working code-experiment-website repo
- Create a mail-server folder inside the deployment folder
- Copy all files from the code-experiment-website/mail-server folder into this newly created deployment/mail-server folder
- Set it up for git locally
git init
git add .
git commit -m "initial commit
- Setup a Heroku app
- Add that Heroku app to your new deployment/mail-server repo
- Push up to Heroku
git push heroku master
- After initial Setup / New Changes
- Copy all files from the code-experiment-website/mail-server folder into this newly created deployment/mail-server folder
- Commit the new changes
git add .
git commit -m "initial commit
- Push up to Heroku
git push heroku master
TODO: Add Tests to the deployment process
TODO: Possibly make a script to do the current deployment