nodebb + heroku + mongolab
-
Can it be done? If the answer to the previous question is 'yes', then how?
The answer for me and everyone else trying this with a mac is surely NO, it CANNOT be done, that's unless you talk to a guy using a WIndows PC and ask him nicely if he can do it for you on his machine instead. Spending 36 hours of your time will NOT, repeat: not, get the job done on a mac. Sorry.
I would need some kind of guidance, a point–by–point assembly instruction or similar. I haven't done this before, so I cannot repeat what I've already done. I need information on how to do it from someone or something else.
OK?
-
"The NodeBB Config (config.json)" sounds important by the look of the docs, but is not included in the clone. Would configuring NodeBB perhaps be easier for noobs if it was?
Should I just create a text file and call it config.json and write something creative there, or is there some kind of template I can glean inspiration from?
I'm pretty sure that it would be easier for new installers if there was such a file in the package.
-
It should. Any errors? Do you have permission to write to that folder?
-
@meh What errors?
-
@meh The setup creates the config. What errors are you getting when you run
./nodebb setup
-
-
@meh Specifically https://docs.nodebb.org/en/latest/installing/cloud/heroku.html
Although it does not have MongoLabs instruction. So here:
- Enable MongoLabs
node app --setup
- Your server name is found in your Heroku app’s “settings” page, and looks something like
adjective-noun-wxyz.herokuapp.com
- Use whatever port
- Get mongo URL
- Type
mongo
instead of redis in database prompt - enter mongo info
-
@meh If the
npm install
failed, then run it again. If it continues to fail, paste the errors here. -
@meh replace that with a path to a directory in your heroku instance