nodebb + heroku + mongolab
-
"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
-