example files added
This commit is contained in:
parent
879a26aec3
commit
b16b9d8f90
2 changed files with 50 additions and 0 deletions
20
config/database.example.yml
Normal file
20
config/database.example.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
development:
|
||||
adapter: postgresql
|
||||
database: gallery_development
|
||||
username: gallery
|
||||
password: changeme
|
||||
production:
|
||||
adapter: mysql
|
||||
encoding: utf8
|
||||
username: photogallery
|
||||
password: changeme
|
||||
database: gallery_production
|
||||
socket: /var/run/mysqld/mysqld.sock
|
||||
test: &TEST
|
||||
adapter: postgresql
|
||||
database: gallery_test
|
||||
username: gallery
|
||||
password: changeme
|
||||
|
||||
cucumber:
|
||||
<<: *TEST
|
30
config/settings.example.yml
Normal file
30
config/settings.example.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
development:
|
||||
site_name: Gallery
|
||||
admin_email: espen@inspired.no
|
||||
site_url: gallery.dev:3000
|
||||
photos_path: '/users/Espen/gallery/dev/originals/'
|
||||
thumbs_path: '/users/Espen/gallery/dev/thumbs/'
|
||||
photos_path_public: '/files/'
|
||||
thumbs_path_public: '/thumbs/'
|
||||
thumb_width: 200
|
||||
thumb_height: 200
|
||||
production:
|
||||
site_name: 'Espen Antonsen photos'
|
||||
admin_email: espen@inspired.no
|
||||
site_url: photos.inspired.no
|
||||
photos_path: '/home/espen/photos/originals/'
|
||||
thumbs_path: '/home/espen/photos/thumbs/'
|
||||
photos_path_public: '/files/'
|
||||
thumbs_path_public: '/thumbs/'
|
||||
thumb_width: 200
|
||||
thumb_height: 200
|
||||
test:
|
||||
site_name: Gallery
|
||||
admin_email: espen@inspired.no
|
||||
site_url: gallery.dev:3000
|
||||
photos_path: '/users/Espen/gallery/test/originals/'
|
||||
thumbs_path: '/users/Espen/gallery/test/thumbs/'
|
||||
photos_path_public: '/files/'
|
||||
thumbs_path_public: '/thumbs/'
|
||||
thumb_width: 200
|
||||
thumb_height: 200
|
Loading…
Reference in a new issue