Skip to content

dannyyu92/barebones

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barebones

Gem Version
Barebones is my personal base Rails application. After developing a couple of Rails applications, I thought that there were some common gems and patterns that would be nice to have out of the box.

Installation

Install the gem:

gem install barebones

Then run:

barebones [AppName]

Flags

If you don't like using any of the below gems or configurations for whatever reason, you can skip them:

  • --skip-api
  • --skip-resque
  • --skip-sidekiq
  • --skip-minitest
  • --skip-factory-girl
  • --skip-carrierwave

For example:

barebones [AppName] --skip-api --skip-minitest

Gemfile

Barebones' Gemfile includes various preconfigured gems such as:

Webserver

  • Puma for our default concurrent webserver. Configured to spawn on free Heroku instances out of the box.

File Uploading

  • Carrierwave for file uploading
  • Fog for AWS/Google cloud storage
  • MiniMagick for image cropping/resizing and all that good stuff

Background Processing

Database

Dev/Testing

Testing

API

Design Patterns

API

Dependencies

Barebones requires the latest version of Ruby (2.4.1), Rails (5.1.1), and PostgreSQL (9.4) on your local machine.

License

Barebones is copyright © 2015-2016 Danny Yu.
It is free software, and may be redistributed under the terms specified in the LICENSE file.