####Simple yet fully tested Rails 4 app for managing signups for events.
A somewhat up to date example can (usually) be found here: http://teamweb.heroku.com/
Tech Stack: Ruby 2, Rails 4, SASS, HAML, Twitter Bootstrap
This project has served as a teaching project in TDD with Rails.
Ruby 2.0, Rails 4, Bundler, and SQLite >= 3.7.13 should already be installed and functional before running the following.
$ git clone git@github.com:GantMan/teamweb.git
$ cd teamweb
$ bundle install
$ rake db:setup
There is an optional db:populate rake task that creates test data and users (via Populator).
Add your user to lib/tasks/populate.rake
to customize, then run the following:
$ rake db:populate
Integration testing is done using PhantomJS using the Poltergeist driver for Capybara. Installing PhantomJS is a manual step you must perform.
brew update && brew install phantomjs
USE 32 bit
cd /usr/local/share
sudo wget https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-i686.tar.bz2
sudo tar xjf phantomjs-1.9.1-linux-i686.tar.bz2
sudo ln -s /usr/local/share/phantomjs-1.9.1-linux-i686/bin/phantomjs /usr/local/share/phantomjs
sudo ln -s /usr/local/share/phantomjs-1.9.1-linux-i686/bin/phantomjs /usr/local/bin/phantomjs
sudo ln -s /usr/local/share/phantomjs-1.9.1-linux-i686/bin/phantomjs /usr/bin/phantomjs
USE 64 bit
sudo wget http://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2
sudo tar xjf phantomjs-1.9.1-linux-x86_64.tar.bz2
sudo ln -s /usr/local/share/phantomjs-1.9.1-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs
sudo ln -s /usr/local/share/phantomjs-1.9.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
sudo ln -s /usr/local/share/phantomjs-1.9.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
Why do you hate yourself?
- Human readable History in the WIKI or a more detailed version in our commits
- Testing History via Travis-CI
- Got ideas? Add them to the issues!
- Sometimes updated live site: http://teamweb.heroku.com/
- We're using simplecov. Run
rake test:all
and view results in thecoverage
directory.