Deploying on HCoop
Right now, is in a state of flux. Many changes remain to be made to the deployment strategy. For now, you need to start a standalone server:
k5start -bqtUf /etc/keytabs/user.daemon/USERNAME -- \
java -jar path/to/wixi-standalone-0.2.jar \
--repoDir=/afs/path/to/yoursite.git \
--outputDir=/afs/path/to/yoursite.web \
--port=8449
You will need to select an unused port number. Then in your domtool you need a vhost that looks something like this:
vhost "wiki" where
DocumentRoot = ("path/to/yoursite.web");
with
proxyPass "/wixify/RPC" "http://localhost:8449/wixify/RPC";
proxyPassReverse "/wixify/RPC" "http://localhost:8449/wixify/RPC";
proxyPass "/wixify/Upload" "http://localhost:8449/wixify/Upload";
proxyPassReverse "/wixify/Upload" "http://localhost:8449/wixify/Upload";
errorDocument "404" "/wixify/404.html";
end;
Put under domain “yourdomain.com”, this should give you a functioning site at wiki.yourdomain.com. The static pages are served by HCoop's apache, so you don't need to worry about too much about the Java backend.