Copy over installer

This commit is contained in:
Girish Ramakrishnan 2015-07-23 13:09:10 -07:00
parent 1944bd6982
commit 756da57e84
2 changed files with 6 additions and 1 deletions

View File

@ -12,7 +12,8 @@
"ecosystem": "../keys/ci/ecosystem-prod.json",
"assets": {
"sshKey": "../keys/ci/id_rsa",
"sshPub": "../keys/ci/id_rsa.pub"
"sshPub": "../keys/ci/id_rsa.pub",
"installer": "../installer"
}
}
}

View File

@ -52,6 +52,10 @@ sudo sed -e 's/SHOWWARNING=true/# SHOWWARNING=true/' -i /etc/tmpreaper.conf
sudo npm install -g pm2 pm2-run forever
sudo rm -rf ~/.npm # .npm will get owned by root after "sudo npm install -g"
# installer
mv /tmp/installer "${HOME}"
cd "${HOME}/installer" && npm install && npm rebuild
# create deploy directories
mkdir -p "${APP_DIR}"