From 74ccd6e0e77cc4488c511023fa79f37e1c7b6479 Mon Sep 17 00:00:00 2001 From: Nina Pypchenko <22447785+nina-py@users.noreply.github.com> Date: Sun, 13 Dec 2020 21:38:40 +1100 Subject: [PATCH] Update "Development Environment" guide While setting up a local dev checkout of nextcloud/server, I noticed that the part about creating the 'config' directory is outdated: this directory already exists in the repository and doesn't need to be created during setup. I have fixed that part of the guide and also clarified some wordings elsewhere in this guide. Signed-off-by: Nina Pypchenko <22447785+nina-py@users.noreply.github.com> --- developer_manual/getting_started/devenv.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/developer_manual/getting_started/devenv.rst b/developer_manual/getting_started/devenv.rst index 6c32a1263..fb87ed225 100644 --- a/developer_manual/getting_started/devenv.rst +++ b/developer_manual/getting_started/devenv.rst @@ -59,21 +59,20 @@ Then install Nextcloud at the root of your site from Git:: cd /var/www git submodule update --init -If you like to install Nextcloud at a sub-folder, replace `/var/www` with `/var/www/`. +If you prefer to install Nextcloud in a sub-folder, replace `/var/www` with `/var/www/`. -Create the data and the config folders:: +Create the data folder:: cd /var/www mkdir data - mkdir config -Adjust rights:: +Adjust permissions:: cd /var/www sudo chown -R www-data:www-data config data apps sudo chmod o-rw /var/www -Finally restart the Web server (this might vary depending on your distribution):: +Finally, restart the Web server (this might vary depending on your distribution):: sudo systemctl restart httpd.service @@ -111,7 +110,7 @@ Enabling debug mode .. note:: Do not enable this for production! This can create security problems and is only meant for debugging and development! -To disable JavaScript and CSS caching debugging has to be enabled by setting ``debug`` to ``true`` in :file:`config/config.php`:: +To disable JavaScript and CSS caching, debugging has to be enabled by setting ``debug`` to ``true`` in :file:`config/config.php`::