Skip to content

Commit

Permalink
Removing server from README [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
winton committed Jun 30, 2012
1 parent 60dc154 commit 77b632e
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,44 +268,6 @@ Stasis uses [Tilt](https://github.com/rtomayko/tilt) to support the following te
WikiCloth (Wiki markup) .wiki, .mediawiki, .mw
Yajl .yajl

### Server Mode

Stasis can run as a server that uses [redis](http://redis.io) to wait for render jobs.

Stasis server that uses redis on port 6379:

<!-- highlight:-s language:console -->

$ stasis -s localhost:6379/0

Push to the server (in Ruby):

Stasis::Server.push(
# Paths to render
:paths => [ "index.html.haml", "subdirectory" ],

# Made available to views as `params`
:params => {},

# Redis address
:redis => "localhost:6379/0",

# Return rendered templates (false by default)
:return => false,

# Block until templates generate (false by default)
:wait => false,

# Write to the filesystem (true by default)
:write => true,

# Cache ttl for returned templates (nil by default)
:ttl => nil,

# Force write even if cached (false by default)
:force => false
)

### This Web Site

[Take a look at the Stasis project](https://github.com/winton/stasis/tree/master/site) that automatically generated this web site from the project [README](https://github.com/winton/stasis/blob/master/README.md).

0 comments on commit 77b632e

Please sign in to comment.