Skip to content

Commit

Permalink
adjusted clone commands to install v1.0.0, but..
Browse files Browse the repository at this point in the history
Added blurb to instruct users to replace it with latest release,
or `v1.x.x` if they want to track the weekly builds.
  • Loading branch information
julianlam committed Mar 13, 2016
1 parent 98b2ac2 commit 59e97a6
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 13 deletions.
7 changes: 5 additions & 2 deletions installing/cloud/cloud9.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ The following are installation instructions for the `Cloud 9 <https://c9.io/>`_

.. code:: bash
git clone -b v1.x.x https://github.com/NodeBB/NodeBB.git nodebb
git clone -b v1.0.0 https://github.com/NodeBB/NodeBB.git nodebb
The nodebb command after the git url will create a file called nodebb so you have to CD into the file after you have cloned NodeBB.
You'll want to replace ``v1.0.0`` with the (`latest stable version <https://github.com/NodeBB/NodeBB/releases>`_), or ``v1.x.x`` if you'd like
to set up the latest weekly build of NodeBB.

The nodebb command after the git url will create a folder called nodebb so you have to ``cd`` into that directory after you have cloned NodeBB.

**Step 2:** Install redis with Cloud9's package manager

Expand Down
8 changes: 6 additions & 2 deletions installing/cloud/heroku.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ Heroku
1. Download and install `Heroku Toolbelt <https://toolbelt.heroku.com/>`_ for your operating system
2. Log into your Heroku account: ``heroku login``
3. Verify your Heroku account by adding a credit card (at http://heroku.com/verify). *Required for enabling Redis To Go Add-on.*
4. Clone the repository: ``git clone -b v1.x.x https://github.com/NodeBB/NodeBB.git /path/to/repo/clone``
4. Clone the repository: ``git clone -b v1.0.0 https://github.com/NodeBB/NodeBB.git /path/to/repo/clone``

* You'll want to replace ``v1.0.0`` with the (`latest stable version <https://github.com/NodeBB/NodeBB/releases>`_), or ``v1.x.x`` if you'd like
to set up the latest weekly build of NodeBB.

5. ``cd /path/to/repo/clone``
6. Install dependencies locally ``npm install --production``
7. Create the heroku app: ``heroku create``
Expand Down Expand Up @@ -38,7 +42,7 @@ Heroku
git rm npm-shrinkwrap.json && git add -f Procfile config.json package.json && git commit -am "adding Procfile and configs for Heroku"
13. Push to heroku: ``git push -u heroku v1.x.x:master``
13. Push to heroku: ``git push -u heroku v1.0.0:master``
* Ensure that a proper SSH key was added to your account, otherwise the push will not succeed!
14. Initialise a single dyno: ``heroku ps:scale web=1``
15. Visit your app!
Expand Down
6 changes: 5 additions & 1 deletion installing/cloud/koding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ Koding
7. Enter your password you used to sign up, if you signed up using Github or another 3rd party, you will need to set one in your Account Settings. Then come back.
8. Now run the following ``sudo apt-get install python-software-properties python g++ make``
9. Now we install NodeBBs other dependencies - ``sudo apt-get install redis-server imagemagick``
10. Next, we clone NodeBB into a NodeBB folder - ``git clone -b v1.x.x https://github.com/NodeBB/NodeBB.git nodebb`` (Optional: Replace nodebb at the end if you want the folder to be a different name)
10. Next, we clone NodeBB into a NodeBB folder - ``git clone -b v1.0.0 https://github.com/NodeBB/NodeBB.git nodebb`` (Optional: Replace nodebb at the end if you want the folder to be a different name)

* You'll want to replace ``v1.0.0`` with the (`latest stable version <https://github.com/NodeBB/NodeBB/releases>`_), or ``v1.x.x`` if you'd like
to set up the latest weekly build of NodeBB.

11. Now enter the NodeBB folder - ``cd nodebb`` (unless you changed the foldername in the previous step, if you somehow forgot what you called it, run ``ls`` to see the name of the folder)
12. Now we install all the dependencies of NodeBB - ``npm install`` (could take a minute or two)
13. Set up nodebb using - ``./nodebb setup``
Expand Down
4 changes: 3 additions & 1 deletion installing/os/arch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ Next, clone this repository:

.. code:: bash
$ git clone -b v1.x.x https://github.com/NodeBB/NodeBB.git nodebb
$ git clone -b v1.0.0 https://github.com/NodeBB/NodeBB.git nodebb
You'll want to replace ``v1.0.0`` with the (`latest stable version <https://github.com/NodeBB/NodeBB/releases>`_), or ``v1.x.x`` if you'd like
to set up the latest weekly build of NodeBB.

Obtain all of the dependencies required by NodeBB:

Expand Down
5 changes: 4 additions & 1 deletion installing/os/centos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ Next, clone the NodeBB repository:
.. code:: bash
cd /path/to/nodebb/install/location
git clone -b v1.x.x https://github.com/NodeBB/NodeBB nodebb
git clone -b v1.0.0 https://github.com/NodeBB/NodeBB nodebb
You'll want to replace ``v1.0.0`` with the (`latest stable version <https://github.com/NodeBB/NodeBB/releases>`_), or ``v1.x.x`` if you'd like
to set up the latest weekly build of NodeBB.

**Note: To clone the master branch you can use the same command with out the "-b" option.
Expand Down
5 changes: 4 additions & 1 deletion installing/os/debian.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ Next clone this repository :
.. code:: bash
$ cd /path/to/nodebb/install/location
$ git clone -b v1.x.x https://github.com/NodeBB/NodeBB.git nodebb
$ git clone -b v1.0.0 https://github.com/NodeBB/NodeBB.git nodebb
You'll want to replace ``v1.0.0`` with the (`latest stable version <https://github.com/NodeBB/NodeBB/releases>`_), or ``v1.x.x`` if you'd like
to set up the latest weekly build of NodeBB.

Now we are going to install all dependencies for NodeBB via NPM :

Expand Down
5 changes: 4 additions & 1 deletion installing/os/freebsd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ Clone NodeBB repo (this assumes you have `git` installed, otherwise use `pkg` to

.. code:: bash
git clone -b v1.x.x https://github.com/NodeBB/NodeBB.git
git clone -b v1.0.0 https://github.com/NodeBB/NodeBB.git
You'll want to replace ``v1.0.0`` with the (`latest stable version <https://github.com/NodeBB/NodeBB/releases>`_), or ``v1.x.x`` if you'd like
to set up the latest weekly build of NodeBB.

Enter directory:

Expand Down
5 changes: 4 additions & 1 deletion installing/os/osx-mavericks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ Clone NodeBB repo:

.. code:: bash
git clone -b v1.x.x https://github.com/NodeBB/NodeBB.git
git clone -b v1.0.0 https://github.com/NodeBB/NodeBB.git
You'll want to replace ``v1.0.0`` with the (`latest stable version <https://github.com/NodeBB/NodeBB/releases>`_), or ``v1.x.x`` if you'd like
to set up the latest weekly build of NodeBB.

Enter directory:

Expand Down
5 changes: 4 additions & 1 deletion installing/os/smartos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ Installation

.. code:: bash
$ git clone -b v1.x.x https://github.com/NodeBB/NodeBB.git nodebb
$ git clone -b v1.0.0 https://github.com/NodeBB/NodeBB.git nodebb
*-* You'll want to replace ``v1.0.0`` with the (`latest stable version <https://github.com/NodeBB/NodeBB/releases>`_), or ``v1.x.x`` if you'd like
to set up the latest weekly build of NodeBB.

5. Install NodeBB's npm dependencies:

Expand Down
5 changes: 4 additions & 1 deletion installing/os/ubuntu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ Next, clone NodeBB into your desired location. If you don't know where, your hom
.. code:: bash
$ cd ~ # Optional
$ git clone -b v1.x.x https://github.com/NodeBB/NodeBB.git nodebb
$ git clone -b v1.0.0 https://github.com/NodeBB/NodeBB.git nodebb
You'll want to replace ``v1.0.0`` with the (`latest stable version <https://github.com/NodeBB/NodeBB/releases>`_), or ``v1.x.x`` if you'd like
to set up the latest weekly build of NodeBB.


Obtain all of the dependencies required by NodeBB:
Expand Down
5 changes: 4 additions & 1 deletion installing/os/windows8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ Open Git Shell, and type the following commands. Clone NodeBB repo:

.. code:: bash
git clone -b v1.x.x https://github.com/NodeBB/NodeBB.git
git clone -b v1.0.0 https://github.com/NodeBB/NodeBB.git
You'll want to replace ``v1.0.0`` with the (`latest stable version <https://github.com/NodeBB/NodeBB/releases>`_), or ``v1.x.x`` if you'd like
to set up the latest weekly build of NodeBB.

Enter directory:

Expand Down

0 comments on commit 59e97a6

Please sign in to comment.