How To Update Code in Server?
SSH to Desired Server, Refer to this Article.
For Production Update following instances
- AX-PROD-APP-AUTO-SCALING-GROUP
- AX-PROD-CELERY
For QA Update following instances
- AX-QA
Steps To Update Code For Production Server
- cd code
- git pull (if only single – production branch need to be updated ) // git fetch –all (if all branches need to be updated
IF NEEDED — Restart Celery Service – Only for AX-PROD-CELERY Instances
sudo service axonator-celery
sudo service axonator-celery status
IF NEEDED — Restart Gunicorn Service – Only for AX-PROD-APP-AUTO-SCALING-GROUP Instances
sudo service axonator-gunicorn restart
sudo service axonator-
gunicorn
status
Steps To Update Code For QA Server
- cd QA_environment/qa_code/
- git pull (if only single – QA branch need to be updated ) // git fetch –all (if all branches need to be updated
0 Comments