Use one command

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling
2016-10-19 09:23:58 +02:00
parent 7ff44108af
commit 84e38bfe97
2 changed files with 2 additions and 4 deletions

View File

@@ -12,8 +12,7 @@ Setup
First the :doc:`development environment <../general/devenv>` needs to be set up. This can be done by either `downloading the zip from the website <https://nextcloud.com/install/>`_ or cloning it directly from GitHub::
git clone git@github.com:nextcloud/server.git --branch $BRANCH
git submodule init
git submodule update
git submodule update --init
.. note:: ``$BRANCH`` is the desired Nextcloud branch (e.g. ``stable9`` for Nextcloud 9, ``stable10`` for Nextcloud 10, ..., ``master`` for the upcoming release)

View File

@@ -55,8 +55,7 @@ After the development tool installation make the directory writable::
Then install Nextcloud from git::
git clone git@github.com:nextcloud/server.git --branch $BRANCH /var/www/<folder>
git submodule init
git submodule update
git submodule update --init
where <folder> is the folder where you want to install Nextcloud.