Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix missing database files that are needed for starting the project.

  • Loading branch information...
commit cd8b953b09a5ba134ee6fca75e6046af5ec771a4 1 parent e57bb19
@peakpg peakpg authored
View
2  .gitignore
@@ -21,6 +21,6 @@ doc/api
.bundle/*
test/dummy/db/backups/*
test/dummy/.sass-cache
-test/dummy/config/database*.yml
+test/dummy/config/database.yml
.sass-cache
db/backups
View
30 test/dummy/config/database.jdbcmysql.yml
@@ -0,0 +1,30 @@
+development:
+ adapter: jdbcmysql
+ encoding: utf8
+ database: browsercms_development
+ username: root
+ password:
+
+
+# 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: jdbcmysql
+ encoding: utf8
+ database: browsercms_test
+ username: root
+ password:
+
+
+production:
+ adapter: mysql
+ encoding: utf8
+ database: devcms
+ username: devcms
+ password: RUzwPU4e
+ socket: /var/lib/mysql/mysql.sock
+
+test_sqlite3:
+ adapter: sqlite3
+ database: db/test.sqlite3
View
26 test/dummy/config/database.mysql.yml
@@ -0,0 +1,26 @@
+# Starting sample database file for mysql
+
+development:
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ pool: 5
+ database: browsercms_development
+ username: root
+ password:
+ socket: /tmp/mysql.sock
+
+# 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: &test
+ adapter: mysql2
+ encoding: utf8
+ database: browsercms_test
+ username: root
+ password:
+ socket: /tmp/mysql.sock
+
+
+cucumber:
+ <<: *test
View
25 test/dummy/config/database.postgres.yml
@@ -0,0 +1,25 @@
+development:
+ adapter: postgresql
+ database: browsercms_development
+ username: postgres
+ password:
+
+# 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: postgresql
+ database: browsercms_test
+ username: postgres
+ password:
+
+production:
+ adapter: postgresql
+ database: browsercms_production
+ username: postgres
+ password:
+
+
+test_sqlite3:
+ adapter: sqlite3
+ database: db/test.sqlite3
View
11 test/dummy/config/database.sqlite3.yml
@@ -0,0 +1,11 @@
+# Do not edit the database.yml file directory. BrowserCMS test suites run against multiple databases, so
+# make changes to the correct 'source' db file. In this case, edit: config/database.sqlite3.yml instead.
+development:
+ adapter: sqlite3
+ database: ":memory:"
+
+
+test:
+ adapter: sqlite3
+ database: "db/test.sqlite3"
+
Please sign in to comment.
Something went wrong with that request. Please try again.