-
Install dependencies:
make setup
-
Build:
make
-
Install nginx.
-
Create a symlink to nginx.conf from wherever nginx sites live. For example:
ln -s "$(pwd)/nginx.conf" /opt/local/etc/nginx/sites-available/docco.hashify.me
-
Activate the site if necessary. For example:
ln -s ../sites-available/docco.hashify.me /opt/local/etc/nginx/sites-enabled/docco.hashify.me
-
Reload nginx:
sudo nginx -s reload
Hashify uses CORS in its communication with bitly. Though browsers don't allow this on localhost, one can use http://lvh.me for testing (lvh.me resolves to localhost).