MongoDB 4.2.7, nodejs 14.6.0, latest master from nodebb repo.
nodebb + heroku + mongolab
Errors a–plenty. Where's the web installer?
@meh What errors?
There's no config file in the package, for starters.
@meh The setup creates the config. What errors are you getting when you run
For simplicity, let's just assume I've done everything wrong. Where do I start?
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
- Use whatever port
- Get mongo URL
mongoinstead of redis in database prompt
- enter mongo info
No need to remove any "failed states" first? Ie remove failed packages?
@meh If the
npm installfailed, then run it again. If it continues to fail, paste the errors here.
I'd like to start fresh again. I understand I don't have to remove anything?
When it says /path/to/repo/clone , does that mean I should paste that, or figure out something else where I want to put this? (It sounds cool, but to be honest isn't very helpful.)
@meh replace that with a path to a directory in your heroku instance
@pitaj Any path?
How? Docs say "Enable Redis To Go for your heroku account (Nano is a free plan): heroku addons:create redistogo:nano"
I assume I shouldn't type the same as for Redis, but something else instead.
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.
c:node $ sudo npm install --production
npm ERR! tar.unpack unzip error /tmp/npm-12374-b75e5add/registry.npmjs.org/nodebb-theme-vanilla/-/nodebb-theme-vanilla-4.0.8.tgz
npm ERR! tar.unpack untar error /tmp/npm-12374-b75e5add/registry.npmjs.org/nodebb-theme-vanilla/-/nodebb-theme-vanilla-4.0.8.tgz
npm ERR! tar.unpack unzip error /tmp/npm-12374-b75e5add/registry.npmjs.org/templates.js/-/templates.js-0.2.10.tgz
npm ERR! tar.unpack unzip error /tmp/npm-12374-b75e5add/registry.npmjs.org/nodebb-plugin-markdown/-/nodebb-plugin-markdown-4.0.5.tgz
--- and on and on ---
So now I've changed hard drive and am finally on a Mavericks. So now the Brew don't work. At least there's some variation in the stuff that doesn't work.
This is a fine piece of software.
If you're incapable of figuring it out as a developer, we do offer some awesome plans that will make your life easier..
Full customer support, backups, etc all included
Of course, NodeBB is open source, and if you're nice enough someone will be happy to help you install it, as has been the case for most people who have come here asking for help.
Nah, it's just that none of the guide or manuals work. I have to figure it all out by myself.
It's also quite some change from eg. Wordpress, where you have a 1-click or 3–minute web launcher. I'm very unfamiliar with having to install 5–6 types of new software on my laptop just in order to set up a web–only forum. Doesn't seem to be necessary, really.