You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
ReStructuredText
58 lines
1.2 KiB
ReStructuredText
|
|
Ubuntu
|
|
--------------------
|
|
|
|
First, we install our base software stack:
|
|
|
|
.. code:: bash
|
|
|
|
$ apt-get install git nodejs redis-server imagemagick
|
|
|
|
|
|
If you want to use MongoDB, LevelDB, or another database instead of Redis please look at the :doc:`Configuring Databases <../configuring/databases>` section.
|
|
|
|
**If your package manager only installed a version of Node.js that is less than 0.8 (e.g. Ubuntu 12.10, 13.04):**
|
|
|
|
|
|
.. code:: bash
|
|
|
|
$ add-apt-repository ppa:chris-lea/node.js
|
|
$ apt-get update && apt-get dist-upgrade
|
|
|
|
|
|
Next, clone this repository:
|
|
|
|
|
|
.. code:: bash
|
|
|
|
$ cd /path/to/nodebb/install/location
|
|
$ git clone git://github.com/designcreateplay/NodeBB.git nodebb
|
|
|
|
|
|
Obtain all of the dependencies required by NodeBB:
|
|
|
|
.. code:: bash
|
|
|
|
$ cd nodebb
|
|
$ npm install
|
|
|
|
|
|
Initiate the setup script by running the app with the ``setup`` flag:
|
|
|
|
|
|
.. code:: bash
|
|
|
|
$ ./nodebb setup
|
|
|
|
|
|
The default settings are for a local server running on the default port, with a redis store on the same machine/port.
|
|
|
|
Lastly, we run the forum.
|
|
|
|
|
|
.. code:: bash
|
|
|
|
$ ./nodebb start
|
|
|
|
|
|
NodeBB can also be started with helper programs, such as ``supervisor`` and ``forever``. `Take a look at the options here <https://github.com/designcreateplay/NodeBB/wiki/How-to-run-NodeBB>`_. |