nodebb + heroku + mongolab
-
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
-
-
@pitaj said:
Ah, clear as day ....
If you have an existing deployment with MongoLab (not created through a Heroku add-on), instructions for connecting your Heroku application to your MongoLab database are available in MongoLab’s connection documentation. Essentially, you will need to configure your MongoDB driver to use the connection URI.
I believe I have an existing deployment with MongoLab, but it is created through a Heroku add-on, so then I need a new manual just for me. Meh.