Skip to content

Using Pow For Local Development

mhodgson edited this page Sep 26, 2012 · 1 revision

Using Pow For Local Development

Pow is a popular Mac development hosting environment. Spar is completely compatible with Pow, but you'll need to add a few files to get it running.

If you haven't already, your first task is to install Pow:

curl get.pow.cx | sh

Next, you need to add two files to your SPar app. The first is a file called Gemfile that looks like this:

source "http://rubygems.org"

gem 'spar'

The second is a file called config.ru that looks like this:

require 'bundler'
Bundler.require

run Spar.app

Boom! You can now create a new Pow app pointed at your Spar app.

Clone this wiki locally