Pages

Friday, December 20, 2013

Boot your Rails development server and console faster than ever.... Use Zeus

How Zeus works?

Zeus preloads your Rails app so that your normal development tasks such as consoleserver,generate, and specs/tests take less than one second.

Install
Install the gem.
gem install zeus
Q: "I should put it in my Gemfile, right?"
A: No. You can, but running bundle exec zeus instead of zeus adds precious seconds to commands that otherwise would be quite a bit faster. Zeus was built to be run from outside of bundler.

Usage

Start the server:
zeus start
The server will print a list of available commands.
Run some commands in another shell:
zeus console
zeus server
zeus test test/unit/widget_test.rb
zeus test spec/widget_spec.rb
zeus generate model omg
zeus rake -T
zeus runner omg.rb

For more details visit https://github.com/burke/zeus

No comments:

Post a Comment