Add dist config files, improve .gitignore

This commit is contained in:
Cyril 2019-10-14 12:26:28 +02:00
parent 2136a03ca8
commit 616cf82516
3 changed files with 22 additions and 2 deletions

7
.gitignore vendored
View file

@ -2,8 +2,8 @@
logs logs
# Specific # Specific
Specific/config.php config/config.yaml
Specific/config.system.php config/system.yaml
Specific/INSTALL_DISABLED Specific/INSTALL_DISABLED
# Composer stuff # Composer stuff
@ -15,3 +15,6 @@ vendor
# Vim # Vim
.*.swp .*.swp
# Others
.DS_Store

8
config/config.yaml.dist Normal file
View file

@ -0,0 +1,8 @@
parameters:
PROJECT_TIMEZONE: 'Europe/Paris'
BAIKAL_CARD_ENABLED: true
BAIKAL_CAL_ENABLED: true
BAIKAL_INVITE_FROM: 'noreply@localhost'
BAIKAL_DAV_AUTH_TYPE: 'Digest'
BAIKAL_ADMIN_PASSWORDHASH: 5fe794627e1f841f8debba065e2c807a
BAIKAL_AUTH_REALM: BaikalDAV

9
config/system.yaml.dist Normal file
View file

@ -0,0 +1,9 @@
parameters:
PROJECT_SQLITE_FILE: "absolute/path/to/Specific/db/db.sqlite"
PROJECT_DB_MYSQL: true
PROJECT_DB_MYSQL_HOST: 'localhost'
PROJECT_DB_MYSQL_DBNAME: 'baikal'
PROJECT_DB_MYSQL_USERNAME: 'baikal'
PROJECT_DB_MYSQL_PASSWORD: 'baikal'
BAIKAL_ENCRYPTION_KEY: '5d3f0fa0192e3058ea70f1bb20924add'
BAIKAL_CONFIGURED_VERSION: '0.6.0'