Skip to content

Commit

Permalink
Port to Rails (no tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabebw committed May 1, 2015
1 parent 13b5f4d commit 6da6ee7
Show file tree
Hide file tree
Showing 183 changed files with 5,568 additions and 216 deletions.
1 change: 1 addition & 0 deletions .sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ ASSET_HOST=localhost:3000
HOST=localhost:3000
RACK_ENV=development
SECRET_KEY_BASE=development_secret
EVENTBRITE_ACCESS_TOKEN=GET_THIS_FROM_HEROKU_CONFIG
7 changes: 5 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,23 @@ gem "airbrake"
gem "autoprefixer-rails"
gem "bourbon", "~> 4.2.0"
gem "coffee-rails", "~> 4.1.0"
gem "delayed_job_active_record"
gem "compass", "1.0.0.rc.1"
gem "email_validator"
gem "flutie"
gem "high_voltage"
gem "httparty"
gem "i18n-tasks"
gem "jquery-middleman"
gem "jquery-rails"
gem "neat", "~> 1.7.0"
gem "normalize-rails", "~> 3.0.0"
gem "pg"
gem "rack-contrib"
gem "rails", "4.2.1"
gem "recipient_interceptor"
gem "refills"
gem "sass-rails", "~> 5.0"
gem "simple_form"
gem "title"
gem "uglifier"
gem "unicorn"

Expand All @@ -42,6 +44,7 @@ end

group :test do
gem "capybara-webkit", ">= 1.2.0"
gem "climate_control"
gem "database_cleaner"
gem "formulaic"
gem "launchy"
Expand Down
42 changes: 32 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ GEM
capybara-webkit (1.5.1)
capybara (>= 2.3.0, < 2.5.0)
json
chunky_png (1.3.4)
climate_control (0.0.3)
activesupport (>= 3.0)
coderay (1.1.0)
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
Expand All @@ -74,15 +77,22 @@ GEM
execjs
coffee-script-source (1.9.1.1)
columnize (0.9.0)
compass (1.0.0.rc.1)
chunky_png (~> 1.2)
compass-core (~> 1.0.0.rc.1)
compass-import-once (~> 1.0.5)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
sass (>= 3.3.13, < 3.5)
compass-core (1.0.3)
multi_json (~> 1.0)
sass (>= 3.3.0, < 3.5)
compass-import-once (1.0.5)
sass (>= 3.2, < 3.5)
crack (0.4.2)
safe_yaml (~> 1.0.0)
database_cleaner (1.4.1)
debug_inspector (0.0.2)
delayed_job (4.0.6)
activesupport (>= 3.0, < 5.0)
delayed_job_active_record (4.0.3)
activerecord (>= 3.0, < 5.0)
delayed_job (>= 3.0, < 4.1)
diff-lcs (1.2.5)
docile (1.1.5)
dotenv (2.0.1)
Expand All @@ -101,6 +111,7 @@ GEM
factory_girl_rails (4.5.0)
factory_girl (~> 4.5.0)
railties (>= 3.0.0)
ffi (1.9.8)
flutie (2.0.0)
formulaic (0.2.0)
activesupport
Expand All @@ -110,6 +121,9 @@ GEM
activesupport (>= 4.1.0)
high_voltage (2.3.0)
highline (1.7.2)
httparty (0.13.1)
json (~> 1.8)
multi_xml (>= 0.5.2)
i18n (0.7.0)
i18n-tasks (0.8.3)
activesupport
Expand All @@ -119,6 +133,8 @@ GEM
i18n
term-ansicolor
terminal-table
jquery-middleman (3.0.4)
thor (>= 0.14, < 2.0)
jquery-rails (4.0.3)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
Expand All @@ -136,6 +152,7 @@ GEM
mini_portile (0.6.2)
minitest (5.6.1)
multi_json (1.11.0)
multi_xml (0.5.5)
neat (1.7.2)
bourbon (>= 4.0)
sass (>= 3.3)
Expand All @@ -150,6 +167,8 @@ GEM
pry-rails (0.3.4)
pry (>= 0.9.10)
rack (1.6.0)
rack-contrib (1.1.0)
rack (>= 0.9.1)
rack-test (0.6.3)
rack (>= 1.0)
rack-timeout (0.2.4)
Expand Down Expand Up @@ -179,6 +198,9 @@ GEM
thor (>= 0.18.1, < 2.0)
raindrops (0.13.0)
rake (10.4.2)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
recipient_interceptor (0.1.2)
mail
refills (0.1.0)
Expand Down Expand Up @@ -235,9 +257,6 @@ GEM
tilt (1.4.1)
timecop (0.7.3)
tins (1.5.1)
title (0.0.5)
i18n
rails (>= 3.1)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.1)
Expand Down Expand Up @@ -269,22 +288,26 @@ DEPENDENCIES
bundler-audit
byebug
capybara-webkit (>= 1.2.0)
climate_control
coffee-rails (~> 4.1.0)
compass (= 1.0.0.rc.1)
database_cleaner
delayed_job_active_record
dotenv-rails
email_validator
factory_girl_rails
flutie
formulaic
high_voltage
httparty
i18n-tasks
jquery-middleman
jquery-rails
launchy
neat (~> 1.7.0)
normalize-rails (~> 3.0.0)
pg
pry-rails
rack-contrib
rack-timeout
rails (= 4.2.1)
recipient_interceptor
Expand All @@ -297,7 +320,6 @@ DEPENDENCIES
spring
spring-commands-rspec
timecop
title
uglifier
unicorn
web-console
Expand Down
1 change: 0 additions & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
worker: bundle exec rake jobs:work
45 changes: 23 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
# Railsbridgeboston dot org
RailsBridge Boston Website
==========================

## Getting Started
[![Build
Status](https://travis-ci.org/railsbridge-boston/railsbridgeboston_dot_org.svg?branch=master)](https://travis-ci.org/railsbridge-boston/railsbridgeboston_dot_org)

After you have cloned this repo, run this setup script to set up your machine
with the necessary dependencies to run and test this app:
This is the website for RailsBridge Boston, a chapter of [RailsBridge]. You can
check out the site at <http://www.railsbridgeboston.org>. This does *not*
include any curriculum content.

% ./bin/setup
RailsBridge Boston organizes workshops for women and their friends to learn
Ruby, Rails, and other web technologies.

It assumes you have a machine equipped with Ruby, Postgres, etc. If not, set up
your machine with [this script].
[RailsBridge]: http://www.railsbridge.org

[this script]: https://github.com/thoughtbot/laptop
Running the app locally
----------------------

After setting up, you can run the application using [foreman]:
$ ./bin/setup
$ middleman
$ open http://localhost:4567

% foreman start
Using real event data
---------------------

If you don't have `foreman`, see [Foreman's install instructions][foreman]. It
is [purposefully excluded from the project's `Gemfile`][exclude].
If you'd like to work with actual Eventbrite data, you'll have to set the
`EVENTBRITE_ACCESS_TOKEN` variable to a real token in your `.env` file.

[foreman]: https://github.com/ddollar/foreman
[exclude]: https://github.com/ddollar/foreman/pull/437#issuecomment-41110407
You can get this via `heroku config:get EVENTBRITE_ACCESS_TOKEN` if you have
Heroku access or from [Eventbrite App Management] if you have access to the
RailsBridge Boston Eventbrite account. Otherwise, ask a maintainer for access.

## Guidelines

Use the following guides for getting things done, programming well, and
programming in style.

* [Protocol](http://github.com/thoughtbot/guides/blob/master/protocol)
* [Best Practices](http://github.com/thoughtbot/guides/blob/master/best-practices)
* [Style](http://github.com/thoughtbot/guides/blob/master/style)
[Eventbrite App Management]: http://www.eventbrite.com/myaccount/apps/
Binary file added app/assets/images/boston.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/boston_2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/images/email.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/images/gem.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/images/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/images/google-group.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/images/heart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/play.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/reflection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/reflection_2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/rubygem_2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/sponsors/actblue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/sponsors/annkissam.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/sponsors/cantina.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/sponsors/general_assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/sponsors/launch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/sponsors/rbm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/sponsors/thoughtbot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/images/train.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/images/twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/workshop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/workshop/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/workshop/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/workshop/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/workshop/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/workshop2.jpg
Binary file added app/assets/images/workshop2_2x.jpg
Binary file added app/assets/images/workshop_2x.png
2 changes: 2 additions & 0 deletions app/assets/javascripts/all.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
//= require jquery
//= require_tree .
12 changes: 0 additions & 12 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require_tree .
Loading

0 comments on commit 6da6ee7

Please sign in to comment.