aboutsummaryrefslogtreecommitdiffstats
path: root/config/deploy/database.yml.mysql
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2013-01-25 22:59:21 +0100
committerHarald Eilertsen <haraldei@anduin.net>2013-01-25 22:59:44 +0100
commitb98cef6e533b998c7f24f6f5e6177816ec63af42 (patch)
tree1b4ce1bf75a69fae0883a7572f68fed6349d9df1 /config/deploy/database.yml.mysql
parent67bd7a27cc609eb1d9958c5de90426fadbd64dbb (diff)
downloadhmnoweb-b98cef6e533b998c7f24f6f5e6177816ec63af42.tar.gz
hmnoweb-b98cef6e533b998c7f24f6f5e6177816ec63af42.tar.bz2
hmnoweb-b98cef6e533b998c7f24f6f5e6177816ec63af42.zip
Add deploy script to set up production database.
Diffstat (limited to 'config/deploy/database.yml.mysql')
-rw-r--r--config/deploy/database.yml.mysql21
1 files changed, 21 insertions, 0 deletions
diff --git a/config/deploy/database.yml.mysql b/config/deploy/database.yml.mysql
new file mode 100644
index 0000000..ce28c6a
--- /dev/null
+++ b/config/deploy/database.yml.mysql
@@ -0,0 +1,21 @@
+development: &development
+ adapter: mysql2
+ host: localhost
+ username: root
+ password:
+ database: your_local_database
+
+test: &test
+ adapter: mysql2
+ host: localhost
+ username: root
+ password:
+ database: your_test_database
+
+production: &production
+ adapter: mysql2
+ host: localhost
+ database: religionsfrihet_i_praksis
+ username: rip_admin
+ password: <%= Capistrano::CLI.ui.ask("Enter MySQL password: ") %>
+ encoding: utf8