Skip to content

Commit 1e524fa

Browse files
committed
first commit
1 parent e34dc3d commit 1e524fa

File tree

1,335 files changed

+89300
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,335 files changed

+89300
-0
lines changed

.buildpacks

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
https://github.com/heroku/heroku-buildpack-nodejs.git
2+
https://github.com/heroku/heroku-buildpack-ruby.git

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,7 @@ bower.json
4747
# Ignore node_modules
4848
node_modules/
4949

50+
public/dcic_docs/*
51+
!public/dcic_docs/Mobile_AD
52+
.DS_Store
53+

.ruby-gemset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
scribe

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby-2.2.0

Capfile

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Load DSL and set up stages
2+
require "capistrano/setup"
3+
4+
# Include default deployment tasks
5+
require "capistrano/deploy"
6+
7+
require 'capistrano/rails'
8+
require 'capistrano/passenger'
9+
require 'capistrano/rvm'
10+
set :rvm_type, :user
11+
set :rvm_ruby_version, '2.2.0'
12+
# Load the SCM plugin appropriate to your project:
13+
#
14+
# require "capistrano/scm/hg"
15+
# install_plugin Capistrano::SCM::Hg
16+
# or
17+
# require "capistrano/scm/svn"
18+
# install_plugin Capistrano::SCM::Svn
19+
# or
20+
require "capistrano/scm/git"
21+
install_plugin Capistrano::SCM::Git
22+
23+
# Include tasks from other gems included in your Gemfile
24+
#
25+
# For documentation on these, see for example:
26+
#
27+
# https://github.com/capistrano/rvm
28+
# https://github.com/capistrano/rbenv
29+
# https://github.com/capistrano/chruby
30+
# https://github.com/capistrano/bundler
31+
# https://github.com/capistrano/rails
32+
# https://github.com/capistrano/passenger
33+
#
34+
# require "capistrano/rvm"
35+
# require "capistrano/rbenv"
36+
# require "capistrano/chruby"
37+
# require "capistrano/bundler"
38+
# require "capistrano/rails/assets"
39+
# require "capistrano/rails/migrations"
40+
# require "capistrano/passenger"
41+
42+
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
43+
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }

Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM zooniverse/ruby:2.1.5
2+
3+
ENV DEBIAN_FRONTEND noninteractive
4+
5+
RUN apt-get update && apt-get upgrade -y && \
6+
apt-get install -y git nodejs npm coffeescript && \
7+
ln -s /usr/bin/nodejs /usr/local/bin/node
8+
9+
ADD . /src/
10+
11+
WORKDIR /src/
12+
13+
RUN bundle install
14+
15+
RUN npm install
16+
17+
EXPOSE 80
18+
19+
ENTRYPOINT ["/src/start.sh"]

Gemfile

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
source 'https://rubygems.org'
2+
3+
ruby '2.2.0'
4+
5+
gem 'rails', '4.0.13'
6+
gem "nokogiri", "~> 1.6.8"
7+
gem 'sass-rails', '~> 4.0.0'
8+
gem 'uglifier', '>= 1.3.0'
9+
gem 'coffee-rails', '4.0.1'
10+
gem 'jquery-rails', '3.1.2'
11+
gem 'turbolinks'
12+
gem 'jbuilder', '~> 1.2'
13+
gem 'devise'
14+
gem 'omniauth-facebook', '~> 4.0.0'
15+
gem "omniauth-google-oauth2"
16+
gem 'omniauth-zooniverse', '~> 0.0.3'
17+
18+
gem 'mongoid', '~> 4.0.2'
19+
gem 'active_model_serializers', '0.9.3'
20+
gem 'mongoid-serializer'
21+
gem 'rack-cors', :require => 'rack/cors'
22+
gem "bson"
23+
gem "moped", '2.0.4'
24+
gem 'sprockets-coffee-react', '3.0.1'
25+
gem 'stylus', '~> 1.0.1'
26+
gem 'browserify-rails', '~> 0.9.1'
27+
gem 'react-rails', '1.0.0'#, github: 'reactjs/react-rails'
28+
29+
gem 'rack-streaming-proxy', '~> 2.0.1'
30+
gem 'kaminari'
31+
gem 'fastimage', '1.7.0'
32+
33+
gem 'actionpack-action_caching'
34+
35+
gem 'newrelic_rpm', '3.13.2.302'
36+
gem 'newrelic_moped', '1.0.1'
37+
38+
gem 'puma', '~> 2.14.0'
39+
40+
gem 'logstasher', '~> 0.6'
41+
42+
gem 'aws-sdk', '~> 2'
43+
44+
# gem 'mongoid_fulltext'
45+
46+
group :development do
47+
gem 'dotenv-rails'
48+
end
49+
50+
group :development, :production do
51+
gem 'better_errors'
52+
gem 'binding_of_caller', :platforms=>[:mri_19, :mri_20, :rbx]
53+
gem 'quiet_assets'
54+
gem 'rails_layout'
55+
gem 'pry'
56+
end
57+
58+
group :production do
59+
gem 'net-ssh', '~> 4.2'
60+
gem 'capistrano', '~> 3.7', '>= 3.7.1'
61+
gem 'capistrano-rails', '~> 1.2'
62+
gem 'capistrano-passenger', '~> 0.2.0'
63+
gem 'capistrano-rvm', '~> 0.1.2'
64+
end
65+
66+
group :assets do
67+
gem 'jquery-ui-sass-rails'
68+
end
69+
70+
group :test do
71+
gem 'capybara'
72+
gem 'cucumber-rails', :require=>false
73+
gem 'database_cleaner', '1.0.1'
74+
gem 'rspec-rails', '~> 3.0'
75+
gem 'shoulda-matchers'
76+
gem 'email_spec'
77+
gem 'launchy'
78+
gem 'factory_girl'
79+
gem 'mongoid-rspec', '2.2.0' #, '>= 1.6.0', :github=>"myeong/mongoid-rspec"
80+
end

0 commit comments

Comments
 (0)