Yastart
Yastart is the base Rails application used at
yafoy. It is heavily inspired from the Suspenders gem by thoughbot.
Installation
First install the yastart gem:
gem install yastart
Then run:
yastart projectname
This will create a Rails app in projectname
using the latest version of Rails.
Gemfile
To see the latest and greatest gems, look at Yastart'
Gemfile, which will be appended to the default
generated projectname/Gemfile.
It includes application gems like:
And development gems like:
- Better Errors to replace the standard Rails error page with a much better and more useful error page
- ByeBug for interactively
debugging behavior
- Bullet for help to kill N+1 queries and
unused eager loading
- Bundler Audit for scanning the
Gemfile for insecure dependencies based on published CVEs
- Ffaker to populate database with dummies
- Hirb to improve ripl(irb)'s default inspect output
- Letter Opener to preview email in the default browser
- Quiet Assets for muting assets
pipeline log messages
- Rack Mini Profiler to display speed badge for every html page
- Spring for fast Rails actions via
pre-loading
- Thin to serve HTTP requests
- Web Console for better debugging via
in-browser IRB consoles
And testing gems like:
And production gems like:
Configuration
Production
- Set up exception notifier
Development
- Configure generators
- Create
rake bs
rake task
- Set up
config/database.yml
- Set up
config/application.yml
- Set up
db/sample_data.rb
- Set up
.gitignore
Test