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>
This commit is contained in:
Nina Pypchenko
2020-12-13 21:38:40 +11:00
parent 01290422ce
commit 74ccd6e0e7

View File

@@ -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/<folder>`.
If you prefer to install Nextcloud in a sub-folder, replace `/var/www` with `/var/www/<folder>`.
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`::
<?php
$CONFIG = array (