2010-08-19 16:34:42 +02:00
|
|
|
1. Resources
|
|
|
|
|
|
|
|
|
|
Tracks is using
|
2014-07-05 12:31:32 +02:00
|
|
|
* GitHub to host the git repository, manage git pull requests, and manage bugs and enhancement requests.
|
2011-10-24 12:34:11 -05:00
|
|
|
* the mailing list to discuss features and development and interact with users
|
2010-08-19 16:34:42 +02:00
|
|
|
|
|
|
|
|
See README for links to the respective sites
|
|
|
|
|
|
2012-04-19 00:35:46 +02:00
|
|
|
Also see the Development pages on the wiki for details on installing, testing,
|
|
|
|
|
upgrading, etc.
|
2011-08-17 09:55:36 +02:00
|
|
|
|
2010-08-19 16:34:42 +02:00
|
|
|
2. Dependencies
|
|
|
|
|
|
2011-10-24 12:34:11 -05:00
|
|
|
The dependencies for Tracks are maintained using bundler. Before starting your
|
|
|
|
|
tracks instance, you'll need to run 'bundle install' to fetch all the
|
|
|
|
|
dependencies
|
2010-08-19 16:34:42 +02:00
|
|
|
|
2012-04-03 15:49:24 +02:00
|
|
|
3. Testing
|
2008-06-19 10:13:59 +02:00
|
|
|
|
2011-10-24 12:34:11 -05:00
|
|
|
There are some pointers for setting up your Tracks copy for testing at
|
|
|
|
|
https://github.com/TracksApp/tracks/wiki/Testing/
|
2008-06-19 10:13:59 +02:00
|
|
|
|
2011-10-24 12:34:11 -05:00
|
|
|
By default, tests are configured to run using sqlite3 in memory mode to
|
|
|
|
|
increase speed. You will need the sqlite3-ruby gem for this.
|
2008-06-19 10:13:59 +02:00
|
|
|
|
2011-10-24 12:34:11 -05:00
|
|
|
To avoid showing the migrations as tests are run, add the following to your
|
|
|
|
|
database.yml below 'database: ":memory:"':
|
2008-06-19 10:13:59 +02:00
|
|
|
|
|
|
|
|
verbosity: quiet
|
|
|
|
|
|
2011-10-24 12:34:11 -05:00
|
|
|
If you want to run tests using another database, that's fine, too. Just change
|
|
|
|
|
your database.yml accordingly.
|
2008-06-19 10:13:59 +02:00
|
|
|
|
2012-04-03 15:49:24 +02:00
|
|
|
Running cucumber/selenium tests in :memory mode does not seem to work.
|
2008-06-19 10:13:59 +02:00
|
|
|
|
2012-04-03 15:49:24 +02:00
|
|
|
The rspec tests are not actively maintained.
|
2008-06-19 10:13:59 +02:00
|
|
|
|
2012-04-19 00:35:46 +02:00
|
|
|
See the wiki for more information on testing:
|
|
|
|
|
https://github.com/TracksApp/tracks/wiki/Testing
|
2011-07-27 15:39:47 +02:00
|
|
|
|
2012-04-03 15:49:24 +02:00
|
|
|
4. Contributing
|
2011-10-24 12:34:11 -05:00
|
|
|
|
2012-04-03 15:49:24 +02:00
|
|
|
See https://github.com/TracksApp/tracks/wiki/How-to-contribute
|