Skip to content

Instantly share code, notes, and snippets.

@mlhamel mlhamel/gist:2726808
Created May 18, 2012

Embed
What would you like to do?
nodejs buildout config
[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
You can’t perform that action at this time.