Skip to content

Instantly share code, notes, and snippets.

@blakmatrix
Created July 3, 2012 09:09
Show Gist options
  • Select an option

  • Save blakmatrix/3038664 to your computer and use it in GitHub Desktop.

Select an option

Save blakmatrix/3038664 to your computer and use it in GitHub Desktop.
Getting Meteor leaderboard up on nodejitsu/jitsu
meteor create --example leaderboard
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-leaderboard",
"subdomain": "meteor-leaderboard",
"scripts": {
"start": "node main.js"
},
"version": "0.0.0-20",
"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
}
@jfhbrook
Copy link
Copy Markdown

Note1: The above list of dependencies is likely out-of-date. You can look these up in the individual packages installed in the bundle's node_modules folder.
Note2: fibers is often difficult to install. Unfortunately, Nodejitsu does not support the fibers library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment