It is possible to run an integration spec suite which attempts to exercise the full whiskey_disk stack. I want this to be able to work on a single machine (especially since I like to work on whiskey_disk on airplanes and in foreign countries with questionable bandwidth/infrastructure). So, here’s how I set my environment up to make this possible

- need the following /etc/hosts entry:
  127.0.0.1       localhost wd-git.example.com wd-app1.example.com wd-app2.example.com

- enable sshd logins

- create a local user named 'user', then:

user% mkdir wd-integration-target
user% chmod 777 wd-integration-target
user% ln -s ~/wd-integration-target /tmp/wd-integration-target

user% ssh-keygen  (specify no passphrase)
user% cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
user% chmod 700 ~/.ssh/; chmod 600 ~/.ssh/authorized_keys

user% ssh [email protected]  (answer 'yes' to the trust host prompt)
^D
user% ssh [email protected]  ( ditto )
^D

then, as user, git clone whiskey_disk from github or ln -s to an already checked out version
(which is what I usually do)

- run git-daemon:
  user% cd git/whiskey_disk
  user% git daemon --base-path=`pwd`/scenarios/git_repositories/ --reuseaddr --verbose &

user% export INTEGRATION=true
user% rake