Skip to content

Instantly share code, notes, and snippets.

@alexleventer
Last active August 29, 2015 14:21
Show Gist options
  • Save alexleventer/8f5f6b9ccf8de75902a9 to your computer and use it in GitHub Desktop.
Save alexleventer/8f5f6b9ccf8de75902a9 to your computer and use it in GitHub Desktop.
NodeJS Centos Distelli Manifest Provision
<username>/NodeCentOSPSimpleApp:
# This Basic Distelli Manifest assumes the following
# has been provisioned on the destination deploy server:
PkgInclude:
- server.js
PkgExclude:
- node_modules/
PreInstall:
- echo "PreInstall Starting."
- sudo yum -y install epel-release
- sudo yum -y install nodejs
- sudo yum -y install npm
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