diff --git a/config/database.example.yml b/config/database.example.yml new file mode 100644 index 0000000..bf3df02 --- /dev/null +++ b/config/database.example.yml @@ -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 \ No newline at end of file diff --git a/config/settings.example.yml b/config/settings.example.yml new file mode 100644 index 0000000..c457c46 --- /dev/null +++ b/config/settings.example.yml @@ -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 \ No newline at end of file