Skip to content Skip to footer

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 ServiceOnly for AX-PROD-CELERY Instances

  • sudo service axonator-celery restart
  • sudo service axonator-celery status

IF NEEDED — Restart Gunicorn ServiceOnly 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

Was This Article Helpful?

0
0 Comments

There are no comments yet

Leave a comment

Your email address will not be published. Required fields are marked *

Close Bitnami banner
Bitnami