Starter Application is a Ruby on Rails 5.1.1 template to use as a base for your new Rails applications. Ideally suitable for deployment on Heroku, but may be used elsewhere.
- Clone repository or otherwise download source code and install gems
- ???
- Profit!
The starter application was developed using Rails 5.1.1, and Ruby 2.4.1. I make no guarantees, however I'm sure it can be adapted for use on other versions of Rails and Ruby. It is set up to use CircleCI with automatic deployment to Heroku. Code quality is measured on Code Climate, with dependency status provided by Gemnasium, and test coverage collected by the SimpleCov gem. Change to adapt to your own needs.
Starter App for Rails 5.1.1 Demo
- Clone it (
git clone https://github.com/professorNim/starter-app-rails5
) - Bundle it (
bundle install
) - Migrate it (
rails db:migrate
), optionally seed the development database (rails db:seed
) - Develop your application
config/environments/production.rb
- specifically the mail settings (host, domain, etc...), as it stands this app is set up for Heroku and Sendgrid, change these settings as necessaryconfig/initializers/app_defaults.rb
- this file contains two variables - application_name & application_creator - used in various places, namely page titles, emails, and the footer partial - change to suit your needscircle.yml
- optionally replace my code climate test coverage token for this repository
- Fork it (https://github.com/professornim/starter-app-rails5/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added a new feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
If you encounter any issues, please try to first fix it yourself, and then propose a new pull request (see Contributing). If you have tried to solve the issue on your own, but are still in need of assistance, seek out help from Stack Overflow. If all else fails, open a new issue. While I will make every effort to integrate pull requests, I make no promises that I'll actively check the issues.
- Write more tests, particularly around pagination
- Write cleaner tests, breaking up larger tests into smaller chunks if possible (e.g. test/integration/password_rests_test.rb)
- Integrate Hound, and/or other CI services to inspect and comment on pull requests
Thanks to Michael Hartl for his Rails Tutorial, a lot of this application is based on that.
Additional thanks goes out to the fine folks on Stack Overflow and at the /r/rails subreddit for their help.