summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2015-03-22 22:57:09 +0100
committerjomo <github@jomo.tv>2015-03-22 22:57:09 +0100
commit6ed86ce9097103c005e19a2cd2a02cd203125a2d (patch)
tree71ee39e4d21f4758a3480a6ac489fe8b31b011f7 /config
parent631a56a8c1237f682db8b98f7bfeebd31300403a (diff)
add database.yml
Diffstat (limited to 'config')
-rw-r--r--config/database.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml
new file mode 100644
index 0000000..8b37796
--- /dev/null
+++ b/config/database.yml
@@ -0,0 +1,28 @@
+default: &default
+ adapter: mysql2
+ encoding: utf8
+ database: website
+ pool: 5
+ timeout: 5000
+ host: 127.0.0.1
+
+
+development:
+ <<: *default
+ database: redstoner-web
+ username: root
+
+
+production:
+ <<: *default
+ # please set ENV["DATABASE_URL"]
+
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ adapter: sqlite3
+ database: db/test.sqlite3
+ pool: 5
+ timeout: 5000 \ No newline at end of file