Last active
January 20, 2017 15:13
-
-
Save soniaprevost/26c5f96bbc11ce80abd2cb9e1826f7b4 to your computer and use it in GitHub Desktop.
Essential Gems to start any project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### with no setup ### | |
# template language to shorten html | |
gem 'slim', '~> 3.0', '>= 3.0.7' | |
# manage translation | |
gem 'i18n', '~> 0.7.0' | |
# in group :development for better error pages | |
gem 'better_errors', '~> 2.1', '>= 2.1.1' | |
gem 'binding_of_caller', '~> 0.7.2' | |
# in group :production for better performance | |
gem 'rails_12factor', '~> 0.0.3' | |
gem 'puma', '~> 3.6', '>= 3.6.2' | |
### with setup ### | |
# in group :development, test for managing env variables | |
gem 'dotenv-rails', '~> 2.1', '>= 2.1.1' | |
# add a .env at the root of your app's file | |
# add /.env in your .gitignore file | |
# front-end gem | |
gem 'bootstrap-sass', '~> 3.3', '>= 3.3.7' | |
gem 'simple_form', '~> 3.3', '>= 3.3.1' | |
# generate simple form bootstrap in the terminal with 'rails generate simple_form:install --bootstrap' | |
# Add Bootstrap sprockets directive in application.js : | |
# //= require bootstrap-sprockets | |
# Add viewport in layout application.html.erb in the <head> section : | |
# <meta name="viewport" content="width=device-width, initial-scale=1"> | |
# <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
# Switch javascript application tag at the end of the body and set an :after_js block of code for page-specific javascript code | |
# <%= javascript_include_tag 'application' %> | |
# <%= yield(:after_js) %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment