How to install and download ?

General Discussion

Suggested Topics


  • 0 Votes
    2 Posts
    2k Views

    You can automate it by using this guide.
    https://github.com/ahwayakchih/openshift-nodebb

    Or the one written by me.
    https://community.nodebb.org/topic/3866/guide-nodebb-0-6-1-on-openshift-for-windows-users-with-putty/1

    Or use official NodeBB guide.
    https://github.com/NodeBB/nodebb-english/blob/master/installing/cloud/openshift.rst

    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
    3k Views

    @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
    2k Views

    Oh yeah just realized reading it again 😛 sorry

    Check out this is you need better hosting 😄
    https://community.nodebb.org/topic/3630/nodebb-hosting-option-for-people-interested

  • 0 Votes
    2 Posts
    1k Views

    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
    3k Views

    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...
    https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis

    Remove the old redis stuff
    Do you need to do this?...no 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 http://download.redis.io/releases/redis-stable.tar.gz tar xzf redis-stable.tar.gz cd redis-stable make sudo make install

    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 ./install_server.sh

    And now you should have a working redis on 0.0.0.0:16379.
    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://nodebb-c9-paez.c9.io/socket.io/?EIO=3&transport=websocket&sid=Gn4rDgj2XlEILV0FAAAA' failed: Error during WebSocket handshake: Unexpected response code: 400

    ...and a whole bunch of....
    [deprecated] variables.set is deprecated, please use ajaxify.data...
    ...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.