Skip to content

IconoclastLabs/teamweb

Repository files navigation

Team Web

Travis-CI Build Status

1: Qu'est-ce que c'est?

####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/

2: Getting Started

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 [email protected]: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

Tests

Integration testing is done using PhantomJS using the Poltergeist driver for Capybara. Installing PhantomJS is a manual step you must perform.

OSX:

brew update && brew install phantomjs

Linux (manually):

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

Windows:

Why do you hate yourself?

3: Hows it going?