Skip to content

Commit

Permalink
cleaned up README a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
lamdor committed Nov 24, 2010
1 parent a10dae2 commit 6963d75
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.org
@@ -1,35 +1,35 @@
#+LANGUAGE: en
#+OPTIONS: H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:
#+LINK_HOME:
#+XSLT:

#+STARTUP: oddeven

* Guard::Soca
Guard::Soca runs soca's push automatically
*** Install
** Install
Please be sure to have [[https://github.com/guard/guard][guard]] installed first
#+BEGIN_SRC sh
gem install guard-soca
#+END_SRC
*** Usage
** Usage
In your Guardfile
#+BEGIN_SRC ruby
guard "soca" do
watch(".+\.js$")
end
#+END_SRC
Now guard-soca will automatically push and compact CouchDB when needed
*** Options
** Options
There are three options:
***** appdir
- *appdir*
Where the application lives. Defaults to current directory
***** env
- *env*
Which configuration should soca push to
***** config_file
- *config_file*
The location of the config.js
#+BEGIN_SRC ruby
guard "soca", :appdir => "app", :env => "test" do
watch(".+\.js$")
end
#+END_SRC


0 comments on commit 6963d75

Please sign in to comment.