Deployment Scripts Repo: https://bitbucket.org/devkinetics/ticketing-setup-and-deployment
Login using root account.
Clone the repo in /repositories directory.
mkdir -p /repositories
cd /repositories
git clone git@bitbucket.org:devkinetics/ticketing-setup-and-deployment.git
Note:
Read the README.md file inside the repo for more instructions.
Make sure Java and Maven are already installed. Only install java 8. There's still an issue with java 9 and Spring Boot if I'm not mistaken.
Node, Yarn, and PM2 should already be installed.
Node.js v8.x
See https://sites.google.com/site/devkinetics/knowledge-base/node-js .
Yarn
sudo npm i -g yarn
PM2
sudo npm i -g pm2