Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. meshmellow
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 5
    • Best 2
    • Groups 2

    Topics created by meshmellow

    • meshmellow

      Getting NodeBB and plugins setup with Heroku (and MongoDB)
      Tutorials • • meshmellow

      4
      5
      Votes
      4
      Posts
      3638
      Views

      Sun Kim

      Could I do all these steps using the free plan, or is there a pay plan that will work?

      da65f4ab-5cd0-4351-b18a-8040eac5d4e7-image.png

      I also noticed there are also heroku "deploy scripts" that auto install it for you?
      Is there anything like this for nodeBB?

      5e80b502-4d2b-4f74-af88-0ed87b71a690-image.png

    • meshmellow

      (SOLVED) Pushing to Heroku
      Technical Support • • meshmellow

      2
      0
      Votes
      2
      Posts
      1891
      Views

      meshmellow

      I think I got it pushed to the Heroku app because it did the building process it does with my own app, and I can see nodeBB in the Heroku logs starting up, but it crashes right away now. I am thinking it might have something to do with the MongoDB connection? (It's a Sandbox MongoLabs connection, but it works for my other app and when I run NodeBB locally it makes changes to to the online MongoLab DB as confirmed through their administrative tools)

      These are my Heroku logs:
      2016-06-15T00:00:56.420459+00:00 app[web.1]:
      2016-06-15T02:54:01.203018+00:00 app[web.1]: > nodebb@1.0.3 start /app
      2016-06-15T02:54:01.203024+00:00 app[web.1]: > node loader.js
      2016-06-15T02:54:03.280111+00:00 heroku[web.1]: Process exited with status 0

      I might have done something horribly wrong when building but I am at a loss for what it could be. After cloning the NodeBB from your git, and then trying to push it to my app with a fresh repo clone, it tells me what the srcref for master isn't there when I try "git push heroku master", however if I try what the tutorial says "git push -u heroku v1.x.x:master" it says that it's up to date instead and nothing gets pushed. This is when I tried setting my git heroku branch to master and pushing anyway (it uploaded and the app crash)

      EDIT: I am going to try and do a fresh clone later when I get back from work and create a new Heroku app to attempt this from Step 1, and I will detail my process for you guys so that you have a better understanding of what I might be doing wrong.