Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #171 from SumOfUs/development
Browse files Browse the repository at this point in the history
Working Action Signing and really pretty templates
  • Loading branch information
Eric Boersma committed Sep 28, 2015
2 parents 7f6be45 + 4a2ce18 commit 08ba8ae
Show file tree
Hide file tree
Showing 210 changed files with 2,244 additions and 2,768 deletions.
1 change: 0 additions & 1 deletion .ebextensions/03_container_commands.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ files:
content: |
#!/bin/bash
docker run -e RDS_DB_NAME=$RDS_DB_NAME -e RDS_USERNAME=$RDS_USERNAME -e RDS_PASSWORD=$RDS_PASSWORD -e RDS_HOSTNAME=$RDS_HOSTNAME -e RDS_PORT=5432 -e RAILS_ENV=production -e DEVISE_SECRET_KEY=$DEVISE_SECRET_KEY aws_beanstalk/current-app:latest rake db:migrate champaign:seed_liquid

container_commands:
add_pending_migrations:
command: /home/ec2-user/setup.sh
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ out/*
# Ignore uploads
public/uploads*

# Ignore images
app/assets/images

config/env.yml

queue_listeners/config/env.yml
Expand Down
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
FROM ruby:2.2.2
# Install system dependencies
RUN apt-get update -qq && apt-get install -y nodejs imagemagick netcat
RUN apt-get update -qq && apt-get install -y nodejs npm imagemagick netcat && \
update-alternatives --install /usr/bin/node nodejs /usr/bin/nodejs 100

RUN mkdir /myapp
WORKDIR /myapp

ADD Gemfile* /myapp/
RUN bundle install --jobs 4
ADD package.json /myapp/

RUN bundle install --jobs 4 && npm install

EXPOSE 3000
ADD . /myapp
Expand Down
30 changes: 28 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
source 'https://rubygems.org'
ruby '2.2.2'

# Synchronises Assets between Rails and S3.
gem 'fog-aws'
gem 'asset_sync'

gem 'rails', '4.2.3'
gem 'pg'
gem 'sass-rails', '~> 5.0'
Expand All @@ -10,10 +14,13 @@ gem 'jquery-rails'
gem 'bootstrap-sass', '~> 3.3.5'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'select2-rails'
gem 'dropzonejs-rails'
gem 'codemirror-rails'
gem 'selectize-rails'
gem 'countries'
gem 'browserify-rails'

# they still haven't merged the PR to support sprockets 3, but will in the next few weeks
gem "compass-rails", git: 'https://github.com/robkilby/compass-rails', branch: 'sprockets-3'

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
Expand Down Expand Up @@ -77,3 +84,22 @@ group :test do
gem 'webmock'
gem 'timecop'
end

# Rails Assets - reference any Bower components that you need as gems.
# https://rails-assets.org/
#
source 'https://rails-assets.org' do

# Give your JS App some Backbone with Models, Views, Collections, and Events http://backbonejs.org
gem 'rails-assets-backbone'

# JavaScript's utility _ belt http://underscorejs.org
gem 'rails-assets-underscore'

# Reduce user-misspelled email addresses in your forms.
gem 'rails-assets-mailcheck'

#Dropzone is an easy to use drag'n'drop library. It supports image previews and shows nice progress bars.
gem 'rails-assets-dropzone'
end

166 changes: 159 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
GIT
remote: https://github.com/robkilby/compass-rails
revision: d42ec065ae21aaed15bb5edb7345fd62d403dc67
branch: sprockets-3
specs:
compass-rails (3.0.0)
compass (~> 1.0.0)
sass-rails (< 5.1)
sprockets (< 4.0)

GEM
remote: https://rubygems.org/
remote: https://rails-assets.org/
specs:
CFPropertyList (2.3.1)
action_parameter (0.0.3)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
Expand Down Expand Up @@ -41,6 +53,10 @@ GEM
tzinfo (~> 1.1)
addressable (2.3.8)
arel (6.0.3)
asset_sync (1.1.0)
activemodel
fog (>= 1.8.0)
unf
autoprefixer-rails (5.2.1.2)
execjs
json
Expand All @@ -60,6 +76,10 @@ GEM
autoprefixer-rails (>= 5.0.0.1)
sass (>= 3.3.0)
browser (0.9.1)
browserify-rails (1.4.0)
railties (>= 4.0.0, < 5.0)
sprockets (> 3.0.2)
tilt (>= 1.1, < 3)
builder (3.2.2)
byebug (6.0.2)
capybara (2.4.4)
Expand All @@ -68,6 +88,7 @@ GEM
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
chunky_png (1.3.4)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.7)
Expand All @@ -81,6 +102,18 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.9.1.1)
compass (1.0.3)
chunky_png (~> 1.2)
compass-core (~> 1.0.2)
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)
countries (1.0.0)
currencies (~> 0.4.2)
i18n_data (~> 0.7.0)
Expand All @@ -97,10 +130,9 @@ GEM
thread_safe (~> 0.1)
warden (~> 1.2.3)
diff-lcs (1.2.5)
dropzonejs-rails (0.7.1)
rails (> 3.1)
envyable (0.2.0)
erubis (2.7.0)
excon (0.45.4)
execjs (2.6.0)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
Expand All @@ -111,8 +143,106 @@ GEM
i18n (~> 0.5)
faraday (0.9.1)
multipart-post (>= 1.2, < 3)
ffi (1.9.10)
fission (0.5.0)
CFPropertyList (~> 2.2)
fog (1.32.0)
fog-atmos
fog-aws (>= 0.6.0)
fog-brightbox (~> 0.4)
fog-core (~> 1.32)
fog-ecloud (= 0.1.1)
fog-google (>= 0.0.2)
fog-json
fog-local
fog-powerdns (>= 0.1.1)
fog-profitbricks
fog-radosgw (>= 0.0.2)
fog-riakcs
fog-sakuracloud (>= 0.0.4)
fog-serverlove
fog-softlayer
fog-storm_on_demand
fog-terremark
fog-vmfusion
fog-voxel
fog-xml (~> 0.1.1)
ipaddress (~> 0.5)
nokogiri (~> 1.5, >= 1.5.11)
fog-atmos (0.1.0)
fog-core
fog-xml
fog-aws (0.7.4)
fog-core (~> 1.27)
fog-json (~> 1.0)
fog-xml (~> 0.1)
ipaddress (~> 0.8)
fog-brightbox (0.8.0)
fog-core (~> 1.22)
fog-json
inflecto (~> 0.0.2)
fog-core (1.32.1)
builder
excon (~> 0.45)
formatador (~> 0.2)
mime-types
net-scp (~> 1.1)
net-ssh (>= 2.1.3)
fog-ecloud (0.1.1)
fog-core
fog-xml
fog-google (0.0.7)
fog-core
fog-json
fog-xml
fog-json (1.0.2)
fog-core (~> 1.0)
multi_json (~> 1.10)
fog-local (0.2.1)
fog-core (~> 1.27)
fog-powerdns (0.1.1)
fog-core (~> 1.27)
fog-json (~> 1.0)
fog-xml (~> 0.1)
fog-profitbricks (0.0.3)
fog-core
fog-xml
nokogiri
fog-radosgw (0.0.4)
fog-core (>= 1.21.0)
fog-json
fog-xml (>= 0.0.1)
fog-riakcs (0.1.0)
fog-core
fog-json
fog-xml
fog-sakuracloud (1.0.1)
fog-core
fog-json
fog-serverlove (0.1.2)
fog-core
fog-json
fog-softlayer (0.4.7)
fog-core
fog-json
fog-storm_on_demand (0.1.1)
fog-core
fog-json
fog-terremark (0.1.0)
fog-core
fog-xml
fog-vmfusion (0.1.0)
fission
fog-core
fog-voxel (0.1.0)
fog-core
fog-xml
fog-xml (0.1.2)
fog-core
nokogiri (~> 1.5, >= 1.5.11)
font-awesome-rails (4.4.0.0)
railties (>= 3.2, < 5.0)
formatador (0.2.5)
globalid (0.3.6)
activesupport (>= 4.1.0)
haml (4.0.7)
Expand All @@ -123,6 +253,8 @@ GEM
multi_xml (>= 0.5.2)
i18n (0.7.0)
i18n_data (0.7.0)
inflecto (0.0.2)
ipaddress (0.8.0)
jbuilder (2.3.1)
activesupport (>= 3.0.0, < 5)
multi_json (~> 1.2)
Expand Down Expand Up @@ -153,6 +285,9 @@ GEM
multi_xml (0.5.5)
multipart-post (2.0.0)
nested_form (0.3.2)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.9.2)
newrelic_rpm (3.13.0.299)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
Expand Down Expand Up @@ -201,6 +336,11 @@ GEM
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.3)
sprockets-rails
rails-assets-backbone (1.1.2)
rails-assets-underscore (>= 1.5.0)
rails-assets-dropzone (4.0.1)
rails-assets-mailcheck (1.1.1)
rails-assets-underscore (1.8.3)
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
Expand Down Expand Up @@ -229,6 +369,9 @@ GEM
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.4.2)
rb-fsevent (0.9.6)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rdoc (4.2.0)
remotipart (1.2.1)
render_anywhere (0.0.11)
Expand All @@ -255,7 +398,7 @@ GEM
rspec-support (~> 3.3.0)
rspec-support (3.3.0)
safe_yaml (1.0.4)
sass (3.4.16)
sass (3.4.18)
sass-rails (5.0.3)
railties (>= 4.0.0, < 5.0)
sass (~> 3.1)
Expand All @@ -265,8 +408,7 @@ GEM
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
select2-rails (3.5.9.3)
thor (~> 0.14)
selectize-rails (0.12.1)
share_progress (0.1.2)
httparty (>= 0.13)
slim (3.0.6)
Expand Down Expand Up @@ -295,6 +437,9 @@ GEM
uglifier (2.7.1)
execjs (>= 0.3.0)
json (>= 1.8.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.1)
warden (1.2.3)
rack (>= 1.0)
web-console (2.2.1)
Expand All @@ -313,21 +458,24 @@ PLATFORMS

DEPENDENCIES
action_parameter
asset_sync
aws-sdk (~> 2)
aws-sdk-v1
bootstrap-sass (~> 3.3.5)
browser
browserify-rails
byebug
capybara
codemirror-rails
coffee-rails (~> 4.1.0)
compass-rails!
countries
database_cleaner
devise
dropzonejs-rails
envyable
factory_girl_rails
faker
fog-aws
jbuilder (~> 2.0)
jquery-rails
liquid
Expand All @@ -339,14 +487,18 @@ DEPENDENCIES
pg
puma
rails (= 4.2.3)
rails-assets-backbone!
rails-assets-dropzone!
rails-assets-mailcheck!
rails-assets-underscore!
rails_admin
remotipart (~> 1.2)
render_anywhere
rmagick
rspec-rails
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
select2-rails
selectize-rails
share_progress (>= 0.1.2)
slim-rails
spring
Expand Down
Binary file added app/assets/images/sumofus/circled-arrow.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/sumofus/logo-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 08ba8ae

Please sign in to comment.