Skip to content

Commit

Permalink
Merge pull request #63 from berkmancenter/dev
Browse files Browse the repository at this point in the history
2.2.0.1
  • Loading branch information
peter-hank authored Jul 18, 2019
2 parents 9a0205a + 78bad83 commit fa39c5c
Show file tree
Hide file tree
Showing 127 changed files with 2,366 additions and 401 deletions.
2 changes: 2 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
RECAPTCHA_SITE_KEY='6Leqp3MUAAAAALYR362-o36MbA_jTWgLfZgEifPj'
RECAPTCHA_SECRET_KEY='6Leqp3MUAAAAAO4ZQlXOl1JVHawn0EoN5oHIC_PV'
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ redis/
spec/examples.txt
add_test_mappings.vim
run-test-listener.sh
.env.production

# Docker
/docker/postgres_data
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM ruby:2.4.1

# Debian issue in Docker
# https://superuser.com/a/1423685
RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list
RUN apt-get update && apt-get install -y build-essential nodejs bash \
postgresql tzdata git sqlite3 libsqlite3-dev default-jre \
g++ qt5-default libqt5webkit5-dev gstreamer1.0-plugins-base \
gstreamer1.0-tools gstreamer1.0-x && \
gem install mailcatcher --no-ri --no-rdoc

RUN mkdir /app
WORKDIR /app

COPY . /app

CMD ["/bin/bash", "docker/start_dev.sh"]
10 changes: 7 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ gem 'active_interaction', '~> 3.6'
gem 'acts-as-taggable-on', '~> 5.0'
gem 'acts_as_api', '~> 1.0'
gem 'bootsnap', '~> 1.3', require: false
gem 'bootstrap-sass', '~> 3.3'
gem 'bootstrap-sass', '~> 3.4'
gem 'breadcrumbs', '~> 0.1'
gem 'browser', '~> 2.5'
gem 'devise', '~> 4.4'
gem 'dotenv-rails', '~> 2.5'
gem 'exception_notification', '~> 4.2'
gem 'feed-abstract', '0.0.15'
gem 'font-awesome-rails', '~> 4.7'
Expand All @@ -29,13 +30,15 @@ gem 'pg', '~> 1.0'
gem 'progress_bar', '~> 1.2'
gem 'protected_attributes_continued', '~> 1.3' # TODO: switch to strong parameters
gem 'pundit', '~> 1.1'
gem 'rails', '~> 5.1.0' # @drg frozen
gem 'rails', '~> 5.1.6' # @drg frozen
gem 'rails-observers', '~> 0.1'
gem 'recaptcha', '~> 4.12'
gem 'redis-namespace', '~> 1.6'
gem 'sanitize', '~> 4.6'
gem 'sass-rails', '~> 5.0'
gem 'sidekiq', '~> 5.1'
gem 'sinatra', '~> 2.0', require: false
gem 'skylight', '~> 2.0'
gem 'sprockets', '~> 3.7'
# TODO: resolve errors when upgrading sunspot_rails/sunspot_solr from these pinned versions
gem 'sunspot_rails', '2.2.7' # @drg frozen
Expand All @@ -53,7 +56,7 @@ group :development do
gem 'haml_lint', '~> 0.27'
gem 'listen', '~> 3.1'
gem 'rubocop', '~> 0.57'
gem 'rubocop-rspec', '~> 1.26'
gem 'rubocop-rspec', '~> 1.27'
gem 'spring', '~> 2.0'
gem 'spring-commands-rspec', '~> 1.0'
gem 'spring-commands-rubocop', '~> 0.2'
Expand All @@ -79,6 +82,7 @@ group :test do
gem 'headless', '~> 2.3'
gem 'launchy', '~> 2.4'
gem 'pundit-matchers', '~> 1.6'
gem 'rails-controller-testing', '~> 1.0'
gem 'selenium-client', '~> 1.2'
gem 'selenium-webdriver', '~> 3.12'
gem 'shoulda-matchers', '~> 3.1'
Expand Down
Loading

0 comments on commit fa39c5c

Please sign in to comment.