-
Notifications
You must be signed in to change notification settings - Fork 3
Deployment Strategy
Details the deployment strategy, workflow and manual deployment process.
To alleviate the task of manually deploying both of our application's frontend and backend, we have decided to automate the process by making a releasing cut every time when a pull request is being merged into the main branch. Since both frontend and backend are being deployed to Heroku with a free account, the application will put into sleep after every 30mins. Hence, the connection might be slow if the server is not being active for a while.
-
Frontend host URL (Client): https://konnection-client.herokuapp.com/login
-
Backend host URL (Server): https://konnection-server.herokuapp.com/
The backend deployment will be initiated if and only if all of the Django unit test are passed.
- Login to Heroku
- Select branch to deploy
- Click "Deploy Branch"
Heroku login
Heroku git:remote -a konnection-server
Heroku create konnection-server
git add .
git commit -am "Deployment"
git push heroku master
Heroku login
Heroku git:remote -a konnection-server
Heroku create konnection-server
git add .
git commit -am "Deployment"
git subtree push --prefix client heroku main