diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-23 18:04:37 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-23 18:04:37 +0200 |
| commit | 6424e10be5a89f175a74c71c55660412a169b8b8 (patch) | |
| tree | ae8c8111bd1e8c6e82c0a5f9a2c4b088c92bafe5 /config | |
| parent | 375ed745052148faeb34763087fe04214105f1b8 (diff) | |
Update deployed state to what's currently running
Diffstat (limited to 'config')
| -rw-r--r-- | config/database.mysql-sample.yml | 45 | ||||
| -rw-r--r-- | config/database.psql-sample.yml | 51 | ||||
| -rw-r--r-- | config/environments/production.rb | 2 | ||||
| -rw-r--r-- | config/locales/de.yml | 1 | ||||
| -rw-r--r-- | config/locales/en.yml | 6 |
5 files changed, 7 insertions, 98 deletions
diff --git a/config/database.mysql-sample.yml b/config/database.mysql-sample.yml deleted file mode 100644 index bdb5311..0000000 --- a/config/database.mysql-sample.yml +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | # MySQL. Versions 4.1 and 5.0 are recommended. | ||
| 2 | # | ||
| 3 | # Install the MySQL driver: | ||
| 4 | # gem install mysql | ||
| 5 | # On Mac OS X: | ||
| 6 | # sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql | ||
| 7 | # On Mac OS X Leopard: | ||
| 8 | # sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config | ||
| 9 | # This sets the ARCHFLAGS environment variable to your native architecture | ||
| 10 | # On Windows: | ||
| 11 | # gem install mysql | ||
| 12 | # Choose the win32 build. | ||
| 13 | # Install MySQL and put its /bin directory on your path. | ||
| 14 | # | ||
| 15 | # And be sure to use new-style password hashing: | ||
| 16 | # http://dev.mysql.com/doc/refman/5.0/en/old-client.html | ||
| 17 | development: | ||
| 18 | adapter: mysql | ||
| 19 | encoding: utf8 | ||
| 20 | database: mysql_development | ||
| 21 | pool: 5 | ||
| 22 | username: root | ||
| 23 | password: | ||
| 24 | socket: /opt/local/var/run/mysql5/mysqld.sock | ||
| 25 | |||
| 26 | # Warning: The database defined as "test" will be erased and | ||
| 27 | # re-generated from your development database when you run "rake". | ||
| 28 | # Do not set this db to the same as development or production. | ||
| 29 | test: | ||
| 30 | adapter: mysql | ||
| 31 | encoding: utf8 | ||
| 32 | database: mysql_test | ||
| 33 | pool: 5 | ||
| 34 | username: root | ||
| 35 | password: | ||
| 36 | socket: /opt/local/var/run/mysql5/mysqld.sock | ||
| 37 | |||
| 38 | production: | ||
| 39 | adapter: mysql | ||
| 40 | encoding: utf8 | ||
| 41 | database: mysql_production | ||
| 42 | pool: 5 | ||
| 43 | username: root | ||
| 44 | password: | ||
| 45 | socket: /opt/local/var/run/mysql5/mysqld.sock | ||
diff --git a/config/database.psql-sample.yml b/config/database.psql-sample.yml deleted file mode 100644 index db7276e..0000000 --- a/config/database.psql-sample.yml +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | # PostgreSQL. Versions 7.4 and 8.x are supported. | ||
| 2 | # | ||
| 3 | # Install the ruby-postgres driver: | ||
| 4 | # gem install ruby-postgres | ||
| 5 | # On Mac OS X: | ||
| 6 | # gem install ruby-postgres -- --include=/usr/local/pgsql | ||
| 7 | # On Windows: | ||
| 8 | # gem install ruby-postgres | ||
| 9 | # Choose the win32 build. | ||
| 10 | # Install PostgreSQL and put its /bin directory on your path. | ||
| 11 | development: | ||
| 12 | adapter: postgresql | ||
| 13 | encoding: unicode | ||
| 14 | database: psql_development | ||
| 15 | pool: 5 | ||
| 16 | username: psql | ||
| 17 | password: | ||
| 18 | |||
| 19 | # Connect on a TCP socket. Omitted by default since the client uses a | ||
| 20 | # domain socket that doesn't need configuration. Windows does not have | ||
| 21 | # domain sockets, so uncomment these lines. | ||
| 22 | #host: localhost | ||
| 23 | #port: 5432 | ||
| 24 | |||
| 25 | # Schema search path. The server defaults to $user,public | ||
| 26 | #schema_search_path: myapp,sharedapp,public | ||
| 27 | |||
| 28 | # Minimum log levels, in increasing order: | ||
| 29 | # debug5, debug4, debug3, debug2, debug1, | ||
| 30 | # log, notice, warning, error, fatal, and panic | ||
| 31 | # The server defaults to notice. | ||
| 32 | #min_messages: warning | ||
| 33 | |||
| 34 | # Warning: The database defined as "test" will be erased and | ||
| 35 | # re-generated from your development database when you run "rake". | ||
| 36 | # Do not set this db to the same as development or production. | ||
| 37 | test: | ||
| 38 | adapter: postgresql | ||
| 39 | encoding: unicode | ||
| 40 | database: psql_test | ||
| 41 | pool: 5 | ||
| 42 | username: psql | ||
| 43 | password: | ||
| 44 | |||
| 45 | production: | ||
| 46 | adapter: postgresql | ||
| 47 | encoding: unicode | ||
| 48 | database: psql_production | ||
| 49 | pool: 5 | ||
| 50 | username: psql | ||
| 51 | password: | ||
diff --git a/config/environments/production.rb b/config/environments/production.rb index 3195745..1768ab7 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb | |||
| @@ -9,7 +9,7 @@ config.action_controller.consider_all_requests_local = false | |||
| 9 | config.action_controller.perform_caching = true | 9 | config.action_controller.perform_caching = true |
| 10 | 10 | ||
| 11 | # See everything in the log (default is :info) | 11 | # See everything in the log (default is :info) |
| 12 | # config.log_level = :debug | 12 | config.log_level = :info |
| 13 | 13 | ||
| 14 | # Use a different logger for distributed setups | 14 | # Use a different logger for distributed setups |
| 15 | # config.logger = SyslogLogger.new | 15 | # config.logger = SyslogLogger.new |
diff --git a/config/locales/de.yml b/config/locales/de.yml index 2663948..fca8c11 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml | |||
| @@ -24,6 +24,7 @@ de: | |||
| 24 | formats: | 24 | formats: |
| 25 | default: "%A, %e. %B %Y, %H:%M Uhr" | 25 | default: "%A, %e. %B %Y, %H:%M Uhr" |
| 26 | short: "%e. %B, %H:%M Uhr" | 26 | short: "%e. %B, %H:%M Uhr" |
| 27 | ccc: "%e. %B %Y, %H:%M Uhr" | ||
| 27 | long: "%A, %e. %B %Y, %H:%M Uhr" | 28 | long: "%A, %e. %B %Y, %H:%M Uhr" |
| 28 | time: "%H:%M" | 29 | time: "%H:%M" |
| 29 | 30 | ||
diff --git a/config/locales/en.yml b/config/locales/en.yml index 81fa48e..2458d4d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml | |||
| @@ -7,4 +7,8 @@ en: | |||
| 7 | sponsors: sponsors | 7 | sponsors: sponsors |
| 8 | hello: "Hello world" | 8 | hello: "Hello world" |
| 9 | show_tag_headline: "Pages tagged with:" | 9 | show_tag_headline: "Pages tagged with:" |
| 10 | old_ccc_de: the old ccc.de \ No newline at end of file | 10 | old_ccc_de: the old ccc.de |
| 11 | |||
| 12 | time: | ||
| 13 | formats: | ||
| 14 | ccc: "%d %B, %Y %H:%M" | ||
