I\'m trying to deploy a meteor.js app (v 1.0) on heroku using the following buildpack:
https://github.com/AdmitHub/meteor-buildpack-horse
and following along this tuto
I had a similar issue, it turned out that I'd left off the "http://" from the ROOT_URL.
Your log messages are fairly generic, is there anything before that?
Here's how I got the meteor "todos" app running on heroku and mongolab.
Install meteor
curl install.meteor.com | /bin/sh
Add meteor to our path so we can run the "meteor" command from anywhere.
clone an existing meteor app into the heroku folder.
meteor create --example todos heroku
change to the meteor app's folder.
cd heroku
I added a package.json file that looks like the following.
{
"name": "myapp",
"version": "0.0.1",
"engines": {
"node": "0.10.33",
"npm": "1.4.23"
},
"dependencies": {
"fibers": "1.0.0"
}
}
change to our home folder. We want to come back to our previous spot.
pushd ~
get the heroku client and install it.
wget http://assets.heroku.com/heroku-client/heroku-client.tgz
tar -zxvf heroku-client.tgz
export PATH=${PATH}:${HOME}/heroku-client/bin
Go back to our previous location.
popd
login to heroku.
heroku login
SKIP THIS PART IF YOU ALREADY HAVE SSH CONFIGURED NICELY WITH HEROKU AND GITHUB
Add your public SSH key to heroku (if you haven't already done so)
heroku keys:add ~/keys/heroku_public_key_ssh.txt
(Manually) Ensure that public SSH key has also been added to your GitHub account.
If you're running ssh-agent, ensure your matching private SSH key is loaded
ssh-add ~/.ssh/id_rsa_heroku_github
Set up our subfolder as a git repository, which we will push to heroku. Substitute your own heroku app name for "mikestodos" below.
git init
heroku git:remote -a mikestodos
git add .
git commit -a -m "first deploy"
Create a heroku app. Mine is called mikestodos.
heroku create mikestodos --stack cedar --region us --buildpack https://github.com/AdmitHub/meteor-buildpack-horse.git
Create a new mongolab database, and a new database user as well.
Set the MONGO_URL for heroku to be our MongoLabs database URL. The format is:
heroku config:set MONGO_URL=mongodb://:@:/
substitute your own MongoLabs URL below.
heroku config:set MONGO_URL=mongodb://mikestodos:@ds051980.mongolab.com:51980/mikestodos
Set the ROOT_URL for our heroku app.
heroku config:set ROOT_URL=http://mikestodos.herokuapp.com
Now push our app to heroku.
git push heroku master