Created
July 23, 2012 20:42
-
-
Save kivi/3166098 to your computer and use it in GitHub Desktop.
deploy node project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# we should create a user and run ast the new user. | |
# following commands executed as root | |
mkdir tmp | |
rsync -avz /var/lib/jenkins/jobs/tm-api/workspace/ /tmp/tm-api | |
# use nvm | |
. /var/lib/jenkins/.nvm/nvm.sh | |
nvm | |
nvm use v0.8.1 | |
# start server | |
cd /tmp/tm-api | |
coffee server | |
# we could use foreman instead |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment