When you're developing, it might be faster to redeploy 3akai-ux:
mvn clean install -P redeploy
(make sure nakamura is running)

This however only works when you're making changes or add a new template.
To remove a previous one, you'll need to follow the steps that Bert described 
or delete it with a CURL command:
curl --data ":operation=delete" 
http://admin:admin@localhost:8080/var/templates/worlds/research


- Christian

On Jul 25, 2012, at 7:37 AM, Harry Wang wrote:

> Hi Bert,
> 
> Thanks a lot for the information - they are very helpful.
> 
> Harry
> 
> On Wed, Jul 25, 2012 at 8:44 AM, Bert Pareyn <pareyn.b...@gmail.com> wrote:
> 
> Hi to the both of you,
> 
> The templates used for creating worlds are copied over to storage when 
> starting up for the first time so editing them without forcing an update on 
> the server side will not reflect your changes.
> You can check out the templates that are currently being used at 
> http://localhost:8080/var/templates/worlds.2.json and follow the structure to 
> make your own.
> 
> When adding a new template (or making changes) they should go into 
> /var/templates inside of the 3akai-ux directory.
> Build 3akai-ux after making the changes with the 'mvn clean install' command 
> (or 'mvn clean install -P sakai-release' for a release build).
> The next step might not be the ideal, maybe someone else has a better 
> solution. To deploy the templates I shut down the server and remove the sling 
> folder.
> When I boot it up again it will grab the contents of 3akai-ux we just built 
> and store the updated templates.
> When you create a new group those changes should now be in there. Someone 
> else might know a better solution than trashing the sling folder.
> 
> Hope this helps
> - Bert
> 
> On 25 Jul 2012, at 12:44, Harry Wang wrote:
> 
>> Any help on this? Are there any detailed documentations on how to 
>> develop/customize world templates?
>> 
>> Thanks,
>> 
>> Harry
>> 
>> On Tue, Jul 24, 2012 at 2:37 AM, Wilsonlee <281579...@qq.com> wrote:
>> Hello,everyone,
>> I wonder how can I create a new template of group,course or reasearch?I even 
>> can edit the default one.
>> 
>> 1.I changed the file simple-group.js in \var\templates\worlds\group for 
>> example, the title of structrue,but when I reset the server and create a new 
>> group.It displayed the old one.I wonder if there is more config I should 
>> modify to change the template.
>> 
>> 2.I wonder how can I add a new template.Now in my sakai ,there is only one 
>> template to select.
>> 
>> Thanks a lot,
>> Wilson lee
>> 
>> 
>> _______________________________________________
>> oae-dev mailing list
>> oae-dev@collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/oae-dev
>> 
>> 
>> _______________________________________________
>> oae-dev mailing list
>> oae-dev@collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/oae-dev
> 
> 
> _______________________________________________
> oae-dev mailing list
> oae-dev@collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/oae-dev

_______________________________________________
oae-dev mailing list
oae-dev@collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/oae-dev

Reply via email to