2015-09-02 22:00:31 +00:00
|
|
|
# Contributing
|
|
|
|
|
2015-10-31 21:20:16 +00:00
|
|
|
Thanks for your interest in PaperTrail!
|
|
|
|
|
|
|
|
Ask usage questions on Stack Overflow:
|
|
|
|
http://stackoverflow.com/tags/papertrail
|
|
|
|
|
|
|
|
**Please do not use github issues to ask usage questions.**
|
|
|
|
|
|
|
|
On github, we appreciate bug reports, feature
|
2015-09-02 22:00:31 +00:00
|
|
|
suggestions, and especially pull requests.
|
|
|
|
|
2015-10-31 21:20:16 +00:00
|
|
|
Thanks, and happy (paper) trails :)
|
2015-09-02 22:00:31 +00:00
|
|
|
|
2015-10-31 21:20:16 +00:00
|
|
|
## Development
|
|
|
|
|
|
|
|
Run tests with sqlite:
|
|
|
|
|
|
|
|
```
|
|
|
|
bundle exec rake prepare
|
|
|
|
bundle exec rake
|
|
|
|
```
|
|
|
|
|
|
|
|
Run tests with mysql:
|
2015-09-02 22:00:31 +00:00
|
|
|
|
2015-10-31 21:20:16 +00:00
|
|
|
```
|
|
|
|
cd test/dummy
|
|
|
|
RAILS_ENV=test bundle exec rake db:setup
|
|
|
|
cd ../..
|
|
|
|
DB=mysql bundle exec rake
|
|
|
|
```
|