The way Hoodie is set up is trying to solve a number of things:
- It should be easy to install Hoodie for application development.
- It should be easy to install Hoodie for Hoodie development.
- The development setup should mirror the production setup as much as possible.
$ brew install hoodie $ hoodie service-start Launching hoodie...done. Launching browser. $
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)
Launches $pwd/hoodie/bin/hoodie_web on $PORT
Install a Worker
$ hoodie worker new name # runs npm install name in workers/