Last active
February 28, 2017 19:47
-
-
Save superhighfives/1b51fad7109e64f4df722be17f13fc07 to your computer and use it in GitHub Desktop.
Rails 5 API + ActiveAdmin + create-react-app on Heroku
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
source 'https://rubygems.org' | |
git_source(:github) do |repo_name| | |
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") | |
"https://github.com/#{repo_name}.git" | |
end | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '~> 5.0.1' | |
# Use Puma as the app server | |
gem 'puma', '~> 3.0' | |
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder | |
# 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' | |
# Use Capistrano for deployment | |
# gem 'capistrano-rails', group: :development | |
# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible | |
# gem 'rack-cors' | |
group :development, :test do | |
# Call 'byebug' anywhere in the code to stop execution and get a debugger console | |
gem 'byebug', platform: :mri | |
# Use sqlite3 as the database for Active Record | |
gem 'sqlite3' | |
end | |
group :development do | |
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' | |
end | |
group :production do | |
gem 'pg' | |
end | |
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | |
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] | |
# ActiveAdmin | |
gem 'devise', '> 4.x' | |
gem 'activeadmin', github: 'activeadmin' | |
gem 'inherited_resources', git: 'https://github.com/activeadmin/inherited_resources' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment