User Tools

Site Tools


development:applications:footprints:restart

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
development:applications:footprints:restart [2018/02/23 13:32] adowlingdevelopment:applications:footprints:restart [2021/06/25 10:09] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== How to Start/Restart/Deploy the Application ======
 + --- //[[anna.dowling@errigal.com|Anna Dowling]] 2018/02/23 05:12//
 +
 +  * Application start / stop and deployments are handled by ansible via the main ansible project available on bitbucket (deployment-playbooks):
 +    * https://bitbucket.org/errigal/deployment-playbooks 
 +  * Logs are located in the following location: ~/logs/grails/footprints.log
 +
 +**To start the application use the following command and correct env (nvqa/prodatc):**
 +<code>
 +ansible-playbook -v -i env/prodatc/hosts startup-footprints.yml --ask-vault-pass
 +</code>
 +
 +**Or alternatively on the required server run the following commands:**
 +<code>
 +cd /var/tomcat/footprints/bin
 +./startup.sh
 +ps -edf | grep foot
 +</code>
 +
 +**To stop the application use the following command and correct env (nvqa/prodatc):**
 +<code>
 +ansible-playbook -i env/prodatc/hosts shutdown-applications.yml --ask-vault-pass
 +</code>
 +
 +**Or alternatively on the required server run the following commands:**
 +<code>
 +cd /var/tomcat/footprints/bin
 +./shutdown.sh
 +ps -edf | grep foot
 +</code>
 +
 +**To redeploy the application use the following command and correct env (nvqa/prodatc):**
 +<code>
 +ansible-playbook -i env/prodatc/hosts redeploy-footprints.yml --ask-vault-pass
 +</code>
 +
 +