Update README.md -- data and its contents

The data directory itself and its contents need to be writable by the php / webserver.

It's somewhat easy to have the data directory be writable while the contents are not, and sometimes this can cause hard to debug redirect loops (which have nothing to do with BASE_PATH or BASE_URL or DISABLE_URL_REWRITING).
This commit is contained in:
Jack Schmidt 2025-12-29 16:11:31 -05:00 committed by GitHub
parent 68b4abfac4
commit 39e639ac69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ See the website for a list of community contributed Add-ons / Tools. → [htt
Grocy is technically a pretty simple PHP application, so the basic notes to get it running are:
- Unpack the [latest release](https://releases.grocy.info/latest)
- Copy `config-dist.php` to `data/config.php` + edit to your needs
- Ensure that the `data` directory is writable
- Ensure that the `data` directory and its contents are writable
- The webserver root should point to the `public` directory
- Include `try_files $uri /index.php$is_args$query_string;` in your location block if you use nginx
- Or disable URL rewriting (see the option `DISABLE_URL_REWRITING` in `data/config.php`)