Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Meteor on Nodejitsu
meteor create --example todos
meteor bundle myapp.tgz
tar xzf myapp.tgz
cd bundle
(create package json with settings below)
jitsu databases create mongo <dbname>
(grab dbstring)
jitsu env set PORT 3000
jitsu env set MONGO_URL <dbstring>
jitsu deploy
{
"name": "meteor-todos",
"subdomain": "meteor-todos",
"scripts": {
"start": "node main.js"
},
"version": "0.0.0-1",
"engines": {
"node": "0.6.x"
},
"dependencies": {
"fibers": "0.6.x",
"qs": "~0.5.0",
"mime": "1.2.5",
"formidable": "~1.0.11",
"express": "~2.5.11",
"wordwrap": "0.0.2",
"sockjs": "~0.3.1",
"mongodb": "~1.0.2",
"connect": "1.8.7",
"gzippo": "0.1.4",
"optimist": "0.3.1",
"handlebars": "1.0.5beta",
"useragent": "1.0.6"
},
"noAnalyze": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment