#Clone H A S from GitHub:
git clone https://github.com/perforce/helix-authentication-service.git
#Run the installation script
helix-authentication-service/install.sh -n
#Copy our ecosystem.js file in to place
sudo cp /home/vagrant/hws/ecosystem.config.js ~/helix-authentication-service/
#Clone the extension that we need to install on P4D
git clone https://github.com/perforce/helix-authentication-extension.git
#Setup extension
cd helix-authentication-extension
p4 -u super -p ssl:192.168.2.71:1666 trust -y
p4 -u super -p ssl:192.168.2.71:1666 login < /home/vagrant/hws/passwd
export P4PORT=ssl:192.168.2.71:1666
export P4USER=super
node hook.js