Last active
August 29, 2015 14:07
-
-
Save coderdan/8c8e34d3d111ba43977b to your computer and use it in GitHub Desktop.
JobReady Service Application Template
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
# TODO: Bower initializer, dotenv at top, oauth/doorkeeper stuff | |
add_source 'https://nQPUkxkYvJdhiX87ansa@gem.fury.io/jobready/' | |
gem 'dotenv-rails' | |
multi = yes?('Does this app need multitenancy?') | |
sidekiq = yes?('Does this app need background processing with sidekiq?') | |
api_access = yes?('Is API access needed?') | |
if multi | |
gem 'apartment' | |
initializer 'apartment.rb', <<-CODE | |
Apartment.configure do |config| | |
config.excluded_models = %w{Tenant} | |
config.tenant_names = lambda{ Tenant.pluck :database } | |
config.persistent_schemas = ['shared_extensions'] | |
end | |
CODE | |
end | |
if sidekiq | |
gem 'sidekiq' | |
gem 'sinatra', require: false | |
gem 'apartment-sidekiq' if multi | |
end | |
if api_access | |
gem 'jwt' | |
gem 'versionist' | |
gem 'active_model_serializers' | |
end | |
gem 'bower-rails' | |
gem 'doorkeeper' | |
gem 'reform' | |
gem 'excon' | |
gem 'responders' | |
gem 'kaminari-bootstrap' | |
gem 'enumerate_it' | |
gem 'central' | |
gem 'puma' | |
gem 'pundit' | |
gem 'simple_form' | |
gem 'kaminari' | |
gem 'draper' | |
gem 'osom-tables' | |
gem_group :development, :test do | |
gem "rspec-rails" | |
gem 'factory_girl_rails' | |
gem 'rspec-mocks' | |
gem 'pry-rails' | |
gem 'pry-rescue' | |
gem 'shoulda-matchers', require: false | |
gem 'byebug' | |
end | |
gem_group :development do | |
gem 'better_errors' | |
gem 'binding_of_caller', :platforms=>[:mri_21] | |
gem 'foreman' | |
gem 'guard-bundler' | |
gem 'guard-rails' | |
gem 'guard-rspec' | |
gem 'html2haml' | |
gem 'hub', :require=>nil | |
gem 'quiet_assets' | |
end | |
rake("db:migrate") | |
git :init | |
git add: "." | |
git commit: %Q{ -m 'Initial commit' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment