Created
May 18, 2012 18:11
-
-
Save mlhamel/2726808 to your computer and use it in GitHub Desktop.
nodejs buildout config
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
[buildout] | |
parts = nodejs nodejs-bin | |
versions = versions | |
[versions] | |
mongodb = 1.8.1 | |
[nodejs] | |
recipe = zc.recipe.cmmi | |
url = http://nodejs.org/dist/v0.6.16/node-v0.6.16.tar.gz | |
environment = | |
PYTHONPATH=tools | |
[nodejs-bin] | |
recipe = cns.recipe.symlink | |
symlink = | |
node | |
npm | |
symlink_base = ${buildout:parts-directory}/nodejs/bin/ | |
symlink_target = ${buildout:bin-directory} | |
[mongodb] | |
recipe = rod.recipe.mongodb | |
darwin-32bit-url = http://downloads.mongodb.org/osx/mongodb-osx-i386-${versions:mongodb}.tgz | |
darwin-64bit-url = http://downloads.mongodb.org/osx/mongodb-osx-x86_64-${versions:mongodb}.tgz | |
linux2-32bit-url = http://downloads.mongodb.org/linux/mongodb-linux-i686-${versions:mongodb}.tgz | |
linux2-64bit-url = http://downloads.mongodb.org/linux/mongodb-linux-x86_64-${versions:mongodb}.tgz | |
[supervisor] | |
recipe = collective.recipe.supervisor | |
eggs=supervisor | |
hostname = localhost | |
port = 9080 | |
user = admin | |
password = changethis | |
pidfile = ${buildout:directory}/var/run/supervisord.pid | |
serverurl = http://${supervisor:hostname}:${supervisor:port} | |
plugins = superlance | |
programs = | |
10 mongodb (stderr_logfile=NONE stdout_logfile=${buildout:directory}/var/mongodb-error.log) ${buildout:bin-directory}/mongod [ --dbpath=${buildout:directory}/var/ ] | |
20 node ${buildout:bin-directory}/node [ ${buildout:directory} ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment