I have posted on the site, but the tutorial is http://ecmstuff.blogspot.co.uk/2012/03/creating-alfresco-share-sites-with.html?showComment=1405435477735#c7387631640776825538
It contains source code to programmaticaly create a working site. Now, having identified the key steps in creating a usable site programmatically I would like to use the code. However, I have no idea how to build it and then install it.
I would love to know the following:
How do I build the script?
What authentication should I be using for the posts?
How can I find up-to-date docs on the REST api for the services to add people and their roles to sites?