[Sugar-devel] How to write an html activity

Daniel Narvaez dwnarvaez at gmail.com
Fri May 3 20:45:06 EDT 2013


On 4 May 2013 02:37, Manuel Quiñones <manuq at laptop.org> wrote:

> 2013/5/3 Daniel Narvaez <dwnarvaez at gmail.com>:
> > Hello,
> >
> > the initial bits of the html activities work has landed. It should now be
> > relatively easy to start writing an activity.
> >
> > First of all you will need a development environment. See
> >
> > http://sugarlabs.org/~buildbot/docs/build.html
> >
> > Then open a shell and move to the source directory
> >
> > make shell
> > cd source
> >
> > Create an activity based on a template
> >
> > volo create my-activity ./sugar-html-template
>
> The above line needs to have two dots to reference the right
> directory, should be:
>
> volo create my-activity ./sugar-html-template
>
> Also require.js is needed, do:
>
> volo add requirejs
>

Perhaps we should have require.js in the template to make things a bit
easier?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130504/bf609fcf/attachment.html>


More information about the Sugar-devel mailing list