Skip to content

Instantly share code, notes, and snippets.

@alexleventer
Last active August 29, 2015 14:21
Show Gist options
  • Save alexleventer/9f99a0f98ff12a503e0a to your computer and use it in GitHub Desktop.
Save alexleventer/9f99a0f98ff12a503e0a to your computer and use it in GitHub Desktop.
NodeJS Ubuntu Distelli Manifest Provision
<username>/NodeUbuntuPSimpleApp:
# This Basic Distelli Manifest assumes the following
# has been provisioned on the destination deploy server:
#
# OS: Ubuntu
# Installed Packages:
# nodejs >= 0.9 [sudo apt-get install nodejs]
# npm >= 1.1 [sudo apt-get install npm]
#
PkgInclude:
- server.js
PkgExclude:
- node_modules/
PreInstall:
- sudo apt-get install nodejs -y
- sudo apt-get install npm -y
- echo "PreInstall Starting."
PostInstall:
- echo "PostInstall Starting."
# - npm install
Exec:
- echo "Exec Starting."
- exec nodejs server.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment