mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Use one command
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
7ff44108af
commit
84e38bfe97
@ -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)
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user