Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (26 sloc) 1.08 KB

Architecture

The way Hoodie is set up is trying to solve a number of things:

  1. It should be easy to install Hoodie for application development.
  2. It should be easy to install Hoodie for Hoodie development.
  3. The development setup should mirror the production setup as much as possible.

Quick Start

$ brew install hoodie $ hoodie service-start Launching hoodie...done. Launching browser. $

This opens the standard browser on http://hoodie.local (http://localhost:1234) which shows the hoodie web interface.

Creating a Hoodie Application from the Command Line

$ hoodie new app $ cd app # where your app lives, all of this lives in your version control $ ls hoodie/ # core hoodie files worker/ # worker installed for your app www/ # static site assets, document root for hoodie_web config/ # configuration files $ hoodie start Launching app...done. Please visit http://app.hoodie.local (http://localhost:1235)

hoodie start

Launches $pwd/hoodie/bin/hoodie_web on $PORT

Install a Worker

$ hoodie worker new name # runs npm install name in workers/