• 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.)

  • Global Moderator Plugin & Theme Dev

    @meh replace that with a path to a directory in your heroku instance


  • @pitaj Any path?


  • @pitaj said:

    Enable MongoLabs

    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.

  • Global Moderator Plugin & Theme Dev


  • @pitaj said:

    @meh https://devcenter.heroku.com/articles/mongolab

    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
    Password:
    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.

  • Admin

    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.

  • GNU/Linux

    @meh said:

    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.

    You seem to be taking a very negative stance on NodeBB based on your inability to install it. Most (infact, near all) people on this board have managed to install NodeBB perfectly fine.

    Also, cut the developers (and us) some slack. NodeBB is free, open source software, and you come to the forums acting like you're entitled to immediate help. If you want to get it to work, please provide error logs where they appear, else we can't help. Please reconsider your attitude, and provide some error logs. Once you've got those things down, we can help you fix your problem(s) in regards to installing NodeBB.

  • Global Moderator Plugin & Theme Dev

    Or if you really want get it set up in the meantime, use it with redis, like the docs suggest

  • Admin

    The best method to get on with your way is to detail every step you've taken (along with the log output from that step)

    This way we can look at ex. Step 3 and go "aha! That's where it broke" etc.


  • I'm sorry I'm me. I need to set up the DB connection to MongoLab. I've done the point and click thing for my latest app. Should I run node app --setup before entering DB user, password etc?


  • My error logs are often flagged as 'spam', BTW:

    .node-gyp/5.0.0/common.gypi not found (cwd: /Library/node/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos) while reading includes of binding.gyp while trying to load binding.gyp
    gyp ERR! configure error
    gyp ERR! stack Error: gyp failed with exit code: 1
    gyp ERR! stack at ChildProcess.onCpExit (/Library/node/node_modules/npm/node_modules/node-gyp/lib/configure.js:357:16)
    gyp ERR! stack at emitTwo (events.js:87:13)
    gyp ERR! stack at ChildProcess.emit (events.js:172:7)
    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
    gyp ERR! System Darwin 13.4.0
    gyp ERR! command "/usr/local/bin/node" "/Library/node/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /Library/node/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
    gyp ERR! node -v v5.0.0
    gyp ERR! node-gyp -v v2.0.2
    gyp ERR! not ok


  • Point 10 is a hard one to guess:

    1. Add the following two packages to the dependencies section of your package.json:

    "dependencies": {
    ...
    "redis": "~0.10.1",
    "connect-redis": "~2.0.0"
    },
    "devDependencies": {

    I don't use redis, but mongo.

  • Admin

    Once you've gotten the right deps set up (ex. MongoDB or redis, etc)

    ./nodebb setup should get you on your way. As mentioned previously paste your logs if it doesn't go as expected


  • Point 9 was "node app --setup", did I do wrong in trusting that?

  • Admin

    Sorry, posting on mobile (perhaps I should write an alert that tells the user a new post has been created... It works on desktop, not on mobile yet)

    Can you post the step by step log I mentioned earlier?


  • I'm at point 10, and got the above cited errors from point 9 on the list.

    I'm wondering what to write in step 10, as obviously I can't follow the manual and enter redis stuff.

Suggested Topics

  • 8
  • 2
  • 12
  • 1
  • 1
| |