Skip to content

Commit

Permalink
rails 5, init Ok
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovak committed Dec 9, 2016
1 parent 98f8516 commit 5a565d7
Show file tree
Hide file tree
Showing 149 changed files with 1,117 additions and 1,524 deletions.
14 changes: 4 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,9 @@

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
/tmp
.idea/
.vscode/
.rbenv-gemsets
.DS_Store
public/system
public/uploads
public/assets/**
public/sitemap.xml.gz
!/tmp/.keep

# Ignore Byebug command history file.
.byebug_history
/*.iml
11 changes: 11 additions & 0 deletions .jsbeautifyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"indent_size": 2,
"indent_char": " ",
"other": " ",
"indent_level": 0,
"indent_with_tabs": false,
"preserve_newlines": true,
"max_preserve_newlines": 2,
"jslint_happy": true,
"indent_handlebars": true
}
27 changes: 27 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Load DSL and set up stages
require "capistrano/setup"

# Include default deployment tasks
require "capistrano/deploy"

# Include tasks from other gems included in your Gemfile
#
# For documentation on these, see for example:
#
# https://github.com/capistrano/rvm
# https://github.com/capistrano/rbenv
# https://github.com/capistrano/chruby
# https://github.com/capistrano/bundler
# https://github.com/capistrano/rails
# https://github.com/capistrano/passenger
#
# require 'capistrano/rvm'
require 'capistrano/rbenv'
# require 'capistrano/chruby'
require 'capistrano/bundler'
require 'capistrano/rails/assets'
require 'capistrano/rails/migrations'
require 'capistrano/passenger'

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

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.5'
gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use Puma as the app server
gem 'puma', '~> 3.0'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
gem 'bootstrap-sass', '~> 3.3.6'

#gem 'pg'
gem 'coffee-rails', '~> 4.2'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'
gem 'jquery-turbolinks'
gem 'react-rails', '~> 1.6.0'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'jbuilder', '~> 2.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 3.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# gem 'pg'

#### ADDED GEMS ###
gem 'rake', '~> 11.1'
# Front
gem 'font-awesome-rails'
gem 'bootstrap-sass', '~> 3.3.6'
gem 'autoprefixer-rails'
gem 'recaptcha', require: 'recaptcha/rails'
gem 'sitemap_generator'

# Backend / Utils
gem 'simple_form'
gem 'wysiwyg-rails'
gem 'cocoon'
gem 'icheck-rails'
gem 'devise'
gem 'annotate'
gem 'carrierwave'
gem 'autoprefixer-rails'
gem 'mini_magick'
gem 'kaminari'
gem 'friendly_id', '~> 5.1.0'
gem 'friendly_id'
gem 'ancestry'
gem 'recaptcha', require: 'recaptcha/rails'
gem 'whenever'

# ADMIN
gem 'rails_admin_nestable', '~> 0.3.2'
gem 'rails_admin_rollincode', '~> 1.1'
gem 'rails_admin', '~> 1.0'
gem 'breadcrumbs_on_rails'

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
gem 'byebug', platform: :mri
end

group :development do
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
gem 'web-console'
gem 'listen', '~> 3.0.5'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'

gem 'better_errors'
gem 'binding_of_caller'
gem 'quiet_assets'
gem 'pry-byebug'
gem 'faker'
gem 'letter_opener'
gem 'puma'
gem 'rename'

# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Capistrano
gem 'capistrano', '~> 3.6'
gem 'capistrano-rails', '~> 1.2'
gem 'capistrano-bundler', '~> 1.2'
gem 'capistrano-passenger'
gem 'capistrano-rbenv', '~> 2.0'
end

group :development do
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end
gem 'rails_12factor', group: :production
Loading

0 comments on commit 5a565d7

Please sign in to comment.