Skip to content

Instantly share code, notes, and snippets.

@Acconut
Last active December 16, 2015 05:19
Show Gist options
  • Select an option

  • Save Acconut/5383324 to your computer and use it in GitHub Desktop.

Select an option

Save Acconut/5383324 to your computer and use it in GitHub Desktop.
Hoodie on Windows and Linux

Hoodie on Windows and Linux

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/bin
  • COUCH_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)

Todo

  • local-tld for windows
  • node-multicouch for windows (to be merged)
  • hoodie cli in node.js
@omrqs

omrqs commented Jun 12, 2013

Copy link
Copy Markdown

You are need type command as root (sudo).

I Got It! Good Luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment