This is a simple Ruby on Rails application example with Postgres, foreman, bootstrap-sass, simple_form, devise and capistrano.
- rails 4.2.4
- ruby 2.2.3
- pg
- foreman
- bootstrap-sass
- dotenv-rails
- slim-rails
- rubocop
- simple_form
- devise
- rails_admin
- newrelic_rpm
- capistrano
Foreman can help manage multiple processes that your Rails app depends upon when running in development. E.g. to start Postgers and rails server.
foreman start
Hire is simple description for a first step to install DB, clone repo and start rails server.
brew install postgres
git clone git@github.com:exsemt/rails_template_app.git
cd rails_template_app
gem install bundler
copy .env.example
to .env
cp .env.example .env
foreman start
open new tab in terminal and create DB
rake db:create
rake db:migrate
rake db:seed
gem install rails
gem install pg
rails new rails_template_app -T --database=postgresql