Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
bb0f24c
update ruby version
wagurano Jan 9, 2016
9347edd
rename README
wagurano Jan 9, 2016
abd0765
update gems
wagurano Jan 9, 2016
862c3fa
add bootstrap files
wagurano Jan 9, 2016
63ed5f1
update route
wagurano Jan 9, 2016
5ac7dba
update image_uploader
wagurano Jan 9, 2016
5b747c7
update development
wagurano Jan 9, 2016
5538a70
update twitter
wagurano Jan 9, 2016
efe2989
update devise
wagurano Jan 9, 2016
3cfc4d3
update application
wagurano Jan 9, 2016
98992e3
update models
wagurano Jan 9, 2016
2c171b8
update gems and fix typos
wagurano Jan 10, 2016
3f2e273
commented out for mongoid
wagurano Mar 26, 2016
7931e57
add docker files
wagurano Apr 7, 2016
011ffbb
Update config files and Remove credentials and Add mongoid.yml and Up…
wagurano Apr 29, 2017
0845e2c
Update image upload
wagurano Apr 30, 2017
df63029
Add ruby version to Gemfile
wagurano Apr 30, 2017
68d7595
Update mongoid.yml
wagurano Apr 30, 2017
a079b33
Update Gemfile and ruby version
wagurano May 3, 2017
910d6a0
Add config/deploy/
wagurano May 3, 2017
2e938b6
Remove docker-compose.yml
wagurano May 3, 2017
a7ffd84
Update README.md
wagurano May 3, 2017
b3cb0ab
Remove mongoid.yml
wagurano May 3, 2017
4f24ab0
Update deploy.rb
wagurano May 5, 2017
bff6ec5
Add 2012 version
wagurano May 5, 2017
56df1b6
Add diagrams
wagurano May 5, 2017
a6f3b39
Update locale file
wagurano May 5, 2017
a2cf2b2
Update controller, helper, layout in application and y2012
wagurano May 5, 2017
d4d1500
Update page, promise, award, vote
wagurano May 5, 2017
d5d7d00
Update deploy
wagurano May 8, 2017
df51f47
Update user view
wagurano May 8, 2017
27c4399
Update encourage box
wagurano May 8, 2017
6ea35a4
Add countdown
wagurano May 8, 2017
2597bd6
Update user#show and vote#assign_id and carrier wave
wagurano May 9, 2017
b49318f
Update application.html.er
wagurano May 9, 2017
228ded8
Update awards, promises, votes controller
wagurano May 9, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@
/public/uploads/*

# Ignore configs
mongoid.yml
/config/mongoid.yml
/config/credentials/*.yml
.env
/config/nginx.conf

# Ignore DS_Store
.DS_Store

# Ignore assets
/public/assets

1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.4.1
18 changes: 15 additions & 3 deletions Capfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
load 'deploy'
load 'deploy/assets'
load 'config/deploy' # remove this line to skip loading any of the default tasks
require "capistrano/setup"
require "capistrano/deploy"

require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git

require "capistrano/rbenv"
require "capistrano/bundler"
require "capistrano/rails/assets"
require "capistrano/puma"

install_plugin Capistrano::Puma

# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
62 changes: 34 additions & 28 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
source 'https://rubygems.org'
ruby '2.4.1'

gem 'rails', '3.2.9'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'rails', '4.2.8'

# db
gem 'mongoid'
gem 'mongoid', '4.0.2'
gem 'mongoid-observers', '0.2.0'
gem 'geocoder'

# file upload
gem 'rmagick'
gem 'carrierwave'
gem 'mini_magick'
gem 'carrierwave', '~> 1.0'
gem 'carrierwave-mongoid', require: 'carrierwave/mongoid'
gem "fog"
gem 'fog-aws', '0.12.0'

# auth
gem 'devise'
Expand All @@ -24,31 +23,38 @@ gem 'omniauth-twitter'
gem 'koala'
gem 'twitter'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
gem "therubyracer"
gem "less-rails" #Sprockets (what Rails 3.1 uses for its asset pipeline) supports LESS
gem 'twitter-bootstrap-rails', :git => 'git://github.com/seyhunak/twitter-bootstrap-rails.git'
end
gem 'sass-rails'
gem 'coffee-rails'
gem 'uglifier'
gem 'therubyracer', '~>0.12.3'
gem 'less-rails', '~>2.8.0'
gem 'twitter-bootstrap-rails', '2.2.8'

gem 'jquery-rails'
gem 'simple_form'

# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# To use Jbuilder templates for JSON
gem 'jbuilder'

# Use unicorn as the app server
# gem 'unicorn'
gem 'jquery-countdown-rails'

gem 'dotenv-rails'
gem 'puma'

# Deploy with Capistrano
gem 'capistrano'
group :development, :test do
gem 'pry-byebug'
gem 'spring'
gem 'railroady'
end

group :development do
gem 'web-console', '~> 2.0'
gem 'capistrano', '~> 3.8'
gem 'capistrano-rbenv', require: false
gem 'capistrano-rails', require: false
gem 'capistrano-bundler', require: false
gem 'capistrano3-puma', require: false
end

# To use debugger
# gem 'debugger'
group :production do
gem 'rails_12factor'
end
Loading