node.js - Meteor deploy on Heroku Error deploying Node -


i built meteor app, , runs on local machine, have meteor installed.

i have never deployed app online, , trying put app on heroku.

i first tried use buildpack/jordansissel/heroku-buildpack-meteor.git, got error "meteor requires node v0.10.41 or later"

i tried use buildpack/michaltakac/meteor-buildpack-horse.git failed push because couldn't unpack node.

lastly i've tried kevinseguin/heroku-buildpack-meteor.git lots of warnings npm depricated http://prntscr.com/bewzak

when @ logs says "slug compilation failed: failed compile node.js app"

i error: mongo_url must set in environment

i don't know enough understand errors are, or how app deployed

image of errors: http://prntscr.com/bex0av

my goal site on gr-fireworks.herokuapp.com

i contacted heroku helpdesk , said couldn't me because issue outside scope of heroku support.

i tried reach out snap ci said successful in deploying it, when try type in did, still getting error node https://snap-ci.com/ankitsri11/fireworks/branch/master/logs/defaultpipeline/1/heroku?back_to=build_history

my repository i'm trying deloy on git @ github.com/jschwarzwalder/fireworks

from description of problem can conclude need 2 things on app's heroku dashboard (settings tab):

  1. add mongo_url environment variable points mongo db database. can create mongo instance on external service or use mlab heroku addon (it has free plan).

so environment variables may like: this

also, may need add meter_settings if use --settings settings.json , root_url - url of app gr-fireworks.herokuapp.com (is required).

  1. set this buildpack:

buildpack settings

ensure have .git @ end of url.

now can deploy app using single command (if setup heroku toolbelt , heroku remote points heroku's app repository):

$ git push heroku master 

Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -