Skip to content

Instantly share code, notes, and snippets.

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