Skip to content

Commit

Permalink
added default local config
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Oct 12, 2014
1 parent 28767ab commit a0f3525
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
46 changes: 46 additions & 0 deletions app/config/config.local.neon.default
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
php:
date.timezone: Europe/Prague

parameters:
siteTitle:
cs: Nějaký závod
en: Some event
entries:
maxMembers: 5
minMembers: 2
eventDate: 2012-06-23 # used for age calculations
opening: 2012-04-01T01:00:00
closing: 2015-06-23T01:00:00
fees:
person: 650.0
si: 50.0
categories:
age:
youth:
short: 'Y'
max: 23
open:
short: 'O'
veteran:
short: 'V'
min: 40
superveteran:
short: 'SV'
min: 55
ultraveteran:
short: 'UV'
min: 65
duration:
- 24
- 12

admin: password
webmasterEmail: [email protected]

nette:
database:
dsn: 'mysql:host=127.0.0.1;dbname=entries'
user: root
password:
options:
lazy: yes
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ or download package.

Run SQL from *install.sql*.

Configure app in *app/config/config.local.neon*.
Configure app in *app/config/config.local.neon.default* and rename it to *config.local.neon*.

Change e-mail templates in *app/templates/Mail*.

0 comments on commit a0f3525

Please sign in to comment.