Skip to content

marcheing/base-rails-app

 
 

Repository files navigation

Base Rails APP

An empty rails app configured the way I like it :)

Notice: this Rails 5 release is still beta. If you're starting a fresh application, go for it. Otherwise look at the rails4 branch.

Breaking changes:

  • mocha has not been included in favour of rspec-expectations
  • boilerplates are no more included

Still missing for a full migration:

  • All JS testing stuff (konacha and sinon) is still not compatible yet with Rails 5 (see work at branch rails5-konacha)

Copyright

2014-2016 Rafael Reggiani Manzo

Even that this code has just basic modifications from a clean Rails application and I want to impose no restrictions on it, just for the formality here I define the license as MIT. Please check its text on the COPYING file.

If you feel big-hearted, please acknowledge my work maintaining this repository by putting a link to this repository on whatever your THANKs file is. Thank you :)

Versions

  • Ruby version: 2.3.0
  • Rails version: 5.0.0.beta2

System dependencies

Usage

  1. You are free to change the license on the COPYING file
  2. Discard this README.md file and use the Rails' original one README.md.rails
  3. Fix the public/humans.txt file with your own info
  4. There is a config/database.yml.sample file that you can use to create the actual config/database.yml which is required by Rails
  5. The same is valid for config/secrets.yml.sample file that you can use to create the actual config/secrets.yml which is required by Rails
  6. Change the gemset name at .ruby-gemset After this you may need to exit the current folder and enter it again so RVM notice the change
  7. Run bundle install to install all the gems
  8. Your unit tests are expected to be at the spec folder following RSpec's standards (http://rspec.info) You should run them with the rake spec command
  9. Your acceptance tests are expected to be at the features following the cucumber standards (https://cukes.info) You should run them with the rake cucumber command
  10. If you are brave enough you can unit test your JavaScript/CoffeeScript using Konacha (Sinon.JS is available for mocking)

From here you are by yourself. Don't forget to check the Rails Guides when in doubt (http://guides.rubyonrails.org).

Don't hesitate on opening a issue with any question.

Known Users

About

An empty rails app configured the way @rafamanzo likes it :)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 84.3%
  • HTML 11.3%
  • JavaScript 1.8%
  • CSS 1.6%
  • CoffeeScript 1.0%