Skip to content

Installation and Usage

Nathaniel Wroblewski edited this page Oct 2, 2013 · 2 revisions

Install Prop.

gem install prop_up

Let Prop prop your app up.

prop up <my-app-name>

Get all up inside your new app.

cd <my-app-name>

It's that easy. Apps that are propped up come with a few nifty gems that can improve your workflow. Start by following the next few steps, which will eventually be automated in the build:

Open four tabs in your terminal. In the first, start zeus.

zeus start

Zeus pre-loads your Rails app making specs, rake tasks, and generators run much faster. Common tasks run through zeus include:

zeus g migration <name of migration>
zeus d migration <name of migration>
zeus rake db:create
zeus rake db:migrate
zeus rake db:test:prepare
zeus c
zeus s

In general, anything that would normally be rails blah is now zeus blah, and anything that would be rake blah is now zeus rake blah. Ctrl+c will exit.

In the next tab, start the zeus server.

zeus s

Use Ctrl+c to exit.

In the third tab, run guard.

guard

Guard watches your spec files so that anytime you make a change, your specs will run. You can also hit your enter/return key to run all your specs. exit will exit guard.

I use the final tab as my normal terminal window/git branching/for entering zeus c when necessary.

Clone this wiki locally