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
|
|
|
|
$ sudo apt-get install git nodejs redis-server imagemagick npm
|
|
|
|
|
|
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), use ``node --version`` to determine your version of Node.js:**
|
|
|
|
|
|
.. code:: bash
|
|
|
|
$ sudo add-apt-repository ppa:chris-lea/node.js
|
|
$ sudo apt-get update && sudo apt-get dist-upgrade
|
|
|
|
|
|
Next, clone this repository:
|
|
|
|
|
|
.. code:: bash
|
|
|
|
$ git clone git://github.com/NodeBB/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``. :doc:`Take a look at the options here <../../running/index>`.
|