-
Notifications
You must be signed in to change notification settings - Fork 20
Process to deploy and test feature branch
uday kumar edited this page Nov 21, 2019
·
2 revisions
Welcome to the vachan-api wiki!
As we are using two server staging and production and we planned Staging for feature testing and production for live features.
- Create your feature branch from latest main branch like staging (make sure staging have the latest code from master)
$ git branch feature-NAME main-branch-name(MASTER/STAGING)
- Checkout your feature branch
$ git checkout feature-NAME
- Commit your changes to feature branch
- Test your feature branch properly on local
- Deploy your feature branch on the staging server
- Do ssh with staging server
$ ssh [email protected]
- Vachan-api project path:
$ cd ~/agmtv2/vachan-api
- pull your feature branch:
$ git pull origin FEATURE_BRANCH_NAME
- Test the added feature/bug-fix on staging
- create the PR with staging
- Here circle CI will test with all code and features
- TODO: Auto deploy after PR merge