Added the possibility to skip demo data generation in dev/demo/prerelease mode

This commit is contained in:
Bernd Bestel
2023-08-02 21:10:03 +02:00
parent d006436d49
commit 1c35fecc85
4 changed files with 12 additions and 5 deletions

View File

@@ -14,8 +14,9 @@
// The settings defined here below
// Either "production", "dev", "demo" or "prerelease"
// When not "production", authentication will be disabled and
// demo data will be populated during database migrations
// When not "production", the application will work in a demo mode which means
// authentication is disabled and some demo data will be generated during the database schema migration
// (pass the query parameter "nodemodata", e.g. https://grocy.example.com/?nodemodata to skip that)
Setting('MODE', 'production');
// The directory name of one of the available localization folders