Website for bostonrb.org
Ruby JavaScript
Pull request Compare This branch is 1 commit ahead, 344 commits behind bostonrb:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
features
lib/tasks
log
public
script
spec
vendor/plugins
.gitignore
.rspec
.rvmrc
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

This is the source code for the Boston Ruby Group's community website:

http://bostonrb.org

It's a Rails app running Ruby 1.9 and uses:

  • Postgres as a SQL database
  • jQuery for client-side behavior
  • Sass and Flutie for stylesheets
  • Formtastic for forms
  • Hoptoad for error notification
  • High Voltage for static pages
  • Cucumber, Capybara, and Akephalos for integration testing
  • RSpec for isolation testing
  • Shoulda for RSpec matchers
  • Factory Girl for test data

Setup

If you want to make changes locally, follow these steps:

Install Ruby 1.9.2 (if necessary). RVM is optional, but highly recommended

rvm install 1.9.2-p180
rvm use 1.9.2 --default

Install bundler and thin

gem install bundler thin

Create your own fork of the bostonrb repository on github

Clone your new fork

git clone git@github.com:your-github-username/bostonrb.git
cd bostonrb

Install the required gems

bundle install

Setup the development database

cp config/database.example.yml config/database.yml
rake db:create db:migrate

Run the tests

rake

Run the server

thin start

Deploy

The site is deployed to Heroku and takes advantage of their Varnish layer by setting far future expires HTTP headers.

DataEntry

Presentations can handle videos from Vimeo, Youtube, and Blip.tv

Just use the set the video_url attribute on the presentation to the video's actual URL and everything is parsed.

The one exception is Blip.tv. You must use the src value from the video's embed code instead of the video's URL.