Sparkler
Spin up a Rails app using all the tools and frameworks we like at Gaslight. Inspired heavily by thoughtbot's Suspenders.
You'll get stuff like:
- Haml
- Sass
- Compass
- ZURB's Foundation
- Rspec
- Cucumber using chromedriver
- Foreman setup using dotenv
- High Voltage (for static pages)
- RDiscount (for Markdown)
- A staging environment.
- An application layout rendering flash messages of any key/value.
- A responsive layout using HTML5.
- Vendored Rubygems in
vendor/ruby
and packaged gems invendor/cache
becuase Vendor Everything still applies.
Optionally, you can create a local-to-the-app Postgresql cluster. Why do that, you ask? Well your app becomes totally independent, first of all. In addition, when you use a tool like Foreman, PG's logs are output right along with your other services. It's pretty nice having all app specific output in one place.
It's not my idea, by the way.
Installation
Install the gem: gem install sparkler
.
Usage
- Run the
sparkler
command with no arguments and you'll see the default Rails help. We've added a couple of options, though, which aren't currently listed. - Most of the time, you'll want to do:
sparkler NEW_APP
- To generate a local PG cluster:
sparkler NEW_APP --local-database
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
sparkler is Copyright © 2008-2013 Gaslight. It is free software, and may be redistributed under the terms specified in the LICENSE file.