A stats site for the git-feats gem.
GitFeats is actively under development. Suggestions, issues and pull requests and welcomed with open arms.
You are going to need the following:
- ruby 1.9.3-p194
- postgresql
- bundler
I recommend using rbenv, and ruby-build.
rbenv install 1.9.3-p194
rbenv global 1.9.3-p194
If you are running OSX, you can either install postgres.app or install postgresql with brew:
brew install postgresql
On Unix, install postgresql
with your package manager. For example, with apt-get
it would be:
sudo apt-get install postgresql
gem install bundler && rbenv rehash
bundle install
Create the database and load it with some test data:
bundle exec rake db:create:all
bundle exec rake db:migrate
bundle exec rake db:seed
Then, to get your server started:
bundle exec rails s
Now the app should be available at localhost:3000
.
Tests are written in RSpec with help from Capybara. Guard is configured to autotest. Simply run:
bundle exec guard
Alternatively, to run the tests without guard, run:
bundle exec rake
GitFeats can always use some extra attention. If you are thinking of adding a feature, refactoring some horrendous code, fixing a bug or writing some tests, have at it.
I reccomend the following:
- Fork the project.
- Make a feature branch:
git checkout -b feature_branch
- Make your changes.
- Add tests.
- Send a pull request.
If you are stuck on something, like adding tests, open a pull request anyways. I'm always more than happy to help.
Copyright (c) 2012 Chris Knadler. See LICENSE for details.