How to install and download ?

General Discussion

Suggested Topics

  • 0 Votes
    2 Posts

    You can automate it by using this guide.

    Or the one written by me.

    Or use official NodeBB guide.

    This is not a bug. You have used npm install command in the wrong folder. Use OpenShift Online in your browser to download NodeBB files to /app-root/runtime/repo and it will work as it should.

  • 0 Votes
    10 Posts

    @Mega as @Schamper said, I only discovered this last week, so we use require.parent.parent/etc for everything, but require.main works just as well.

    Keep in mind require.main's "scope" is app.js, so you'd have to do require.main.require('./src/groups.js'); if you want access to the groups lib.

    require.main will always be app.js for plugins, since plugins are only called by NodeBB.

  • 0 Votes
    4 Posts

    Oh yeah just realized reading it again 😛 sorry

    Check out this is you need better hosting 😄

  • 0 Votes
    2 Posts

    I have version 0.5.4 of nodebb.
    Recently, I also installed a few themes. Can this be an incompatibility issue? Any way to fix this?

    I am answering to my question. It looks like the issue came from a theme I installed previously. It works fine after I do the following:

    npm uninstall nodebb-theme-cerulean
  • 0 Votes
    6 Posts

    I know this is old but it came up when I was looking for an answer, so for those that come after.....

    Redis is already on c9 and its old.
    Following is some quick instructions that get it working but please understand i REALLY DONT know what Im doing 😉
    The instructions are base off...

    Remove the old redis stuff
    Do you need to do this? idea 😉

    $ sudo service redis-server stop $ sudo dpkg -P redis-server $ sudo dpkg -P redis-tools

    Download and make the new Redis 3.0.x

    paez@nodebb:~/workspace $ mkdir redis $ cd redis wget tar xzf redis-stable.tar.gz cd redis-stable make sudo make install

    During the install the default path for where to put the executable s was wrong and I think it was /usr/bin/
    Also, select port 16379, because the old redis is still running and Im still not sure how to turn it off properly. But your new one will work fine if you set nodeBB to the new one. I did get rid of it once, but not exactly sure how.

    cd utils sudo ./

    And now you should have a working redis on
    Still have the old one running, as I dont know how to get rid of it properly yet.

    I tested this with the latest NodeBB and was able to get it to work except I get this error in the console....

    WebSocket connection to 'ws://' failed: Error during WebSocket handshake: Unexpected response code: 400

    ...and a whole bunch of....
    [deprecated] variables.set is deprecated, please use
    ...dont know why and am not likely to find out as Im going to be running it off Openshift, but this hopefully gets someone a little closer....and it does seem to work good enough for theme mucking which is what I wanted the c9 one for.