diff --git a/README.rdoc b/README.rdoc index 147cc26..7e8f316 100644 --- a/README.rdoc +++ b/README.rdoc @@ -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 test/database.yml with the following content (replace with proper dbname/username/password): +Create a test database configuration file test/database.yml with the following content. +If you like you can copy test/database-example.yml to test/database.yml. +Replace the database, username and password with correct values. adapter: mysql2spatial encoding: utf8 diff --git a/test/database-example.yml b/test/database-example.yml new file mode 100644 index 0000000..51ee5eb --- /dev/null +++ b/test/database-example.yml @@ -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: