Created
July 3, 2012 09:07
-
-
Save blakmatrix/3038654 to your computer and use it in GitHub Desktop.
Getting Meteor todos up on nodejitsu/jitsu
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
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 |
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
{ | |
"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 | |
} |
Does the fact that Meteor just came out with a new version make any difference? The Heroku buildpack isn't working anymore, so I'm thinking about switching to NodeJitsu...
Doesn't work anymore due to this bug: laverdet/node-fibers#94
Wrote this article on how I deployed my Meteor application with demeteorizer on nodejitsu
http://christian-fei.com/tutorials/the-ultimate-guide-to-deploying-a-meteor-project/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to create the app before doing any env set to jitsu:
jitsu apps create myapp