Skip to content

Commit fb71ac2

Browse files
committed
Update README with steps to set-up the local dev environment
1 parent f452fe3 commit fb71ac2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.rdoc

+19
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,25 @@ Rails as of Rails 3.0.3, so we hope it will get rectified at some point.
149149

150150
=== Development and support
151151

152+
==== Set-up
153+
154+
Create a test database configuration file <tt>test/database.yml</tt> with the following content (replace with proper dbname/username/password):
155+
156+
adapter: mysql2spatial
157+
encoding: utf8
158+
reconnect: true
159+
host: localhost
160+
database: YOUR_DATABASE_NAME
161+
username: YOUR_USER_NAME
162+
password: PASSWORD_OR_NOTHING
163+
164+
Install required gems with <tt>bundle install</tt> (remove Gemfile.lock and then install gems if there are any issues with gem versions).
165+
166+
Run the test suite before committing or publishing any changes:
167+
168+
bundle exec rake test
169+
170+
152171
Documentation is available at http://rgeo.github.com/activerecord-mysql2spatial-adapter/rdoc
153172

154173
Source code is hosted on Github at http://github.com/rgeo/activerecord-mysql2spatial-adapter

0 commit comments

Comments
 (0)