====== 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):** ansible-playbook -v -i env/prodatc/hosts startup-footprints.yml --ask-vault-pass **Or alternatively on the required server run the following commands:** cd /var/tomcat/footprints/bin ./startup.sh ps -edf | grep foot **To stop the application use the following command and correct env (nvqa/prodatc):** ansible-playbook -i env/prodatc/hosts shutdown-applications.yml --ask-vault-pass **Or alternatively on the required server run the following commands:** cd /var/tomcat/footprints/bin ./shutdown.sh ps -edf | grep foot **To redeploy the application use the following command and correct env (nvqa/prodatc):** ansible-playbook -i env/prodatc/hosts redeploy-footprints.yml --ask-vault-pass