Skip to content

Commit

Permalink
Add example database.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dschweisguth committed Jun 28, 2017
1 parent 8521dee commit bdc9394
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,11 @@ Rails as of Rails 3.0.3, so we hope it will get rectified at some point.

=== Development and support

==== Set-up
==== Setup

Create a test database configuration file <tt>test/database.yml</tt> with the following content (replace with proper dbname/username/password):
Create a test database configuration file <tt>test/database.yml</tt> with the following content.
If you like you can copy <tt>test/database-example.yml</tt> to <tt>test/database.yml</tt>.
Replace the database, username and password with correct values.

adapter: mysql2spatial
encoding: utf8
Expand Down
8 changes: 8 additions & 0 deletions test/database-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copy this file to database.yml in the same directory and fill in the empty fields
adapter: mysql2spatial
encoding: utf8
reconnect: true
host: localhost
database:
username:
password:

0 comments on commit bdc9394

Please sign in to comment.