Last active
August 29, 2015 14:21
-
-
Save alexleventer/9f99a0f98ff12a503e0a to your computer and use it in GitHub Desktop.
NodeJS Ubuntu Distelli Manifest Provision
This file contains hidden or 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
<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