This guide will help you to use hoodie on windows and linux.
Before we start you'll need following dependencies installed:
- node
- npm
- git
- couchdb
First you need to set some environment variables. To do that find your couchdb installation directory (e.g. D:\AwesomeStuff\CouchDB). After that add those two variables (where PATH is your couchdb installation directory):
COUCH_BIN:PATH/bin/binCOUCH_DEFAULT_INI:PATH/etc/couchdb/default.ini
Then you need to install local-tld.
[sudo] npm install -g git://github.com/mdlawson/local-tld.git#crossplatform
Then we need the hoodie cli.
[sudo] npm install -g hoodie-cli
Now we can create our app (myhoodieapp is our app's name):
hoodie new myhoodieapp
After that you'll need to start the local-tld server (as admin).
[sudo] local-tld start
Now you're ready to rumble and run hoodie. Go to your hoodie installtion folder (myhoodieapp) and start it:
hoodie start
You'll maybe asked for a password. Just enter one and remember it!
So now you're hoodie app should be set up and you can try it at myhoodieapp.dev. Enjoy!
Tons of thanks to mdlawson!
Last update: 07/13/2013 (1373746028208)
npm install -g git://github.com/Acconut/local-tld.git#crossplatformfails with the following error on Ubuntu 12.04:It looks like it's not supported on Linux, so the instructions should probably be amended to note this.