[Sugar-devel] Hacking on HTML activities UI (was Re: GSoC 13)

suraj ks suraj.gillespie at gmail.com
Thu Apr 11 10:43:01 EDT 2013


Still showing the same error.
Please bear with me. This is the first time I'm working with node and volo.

But the volo create seems to working fine with the omega-examples.
It was created without any hassles.

I'm going through the chrome app page which you suggested.

Do I have to just tweak the "omega-examples" code to make it run on chrome?
Or do i have to start with creating manifest, background script ,etc
as mentioned here
 http://developer.chrome.com/trunk/apps/first_app.html
 ?





P.S : I have an exam day after tomorrow. That's why my progress is slow.
It is my last exam. Once i'm done with it i'll be able to devote all my
attention towards Sugar.






On Thu, Apr 11, 2013 at 5:26 PM, Daniel Narvaez <dwnarvaez at gmail.com> wrote:

> Oh. You need to install the xi-artwork nodejs module.
>
> I think you cloned that git repo already so
>
> npm install -g path/to/xi-artwork
>
> Then "volo create..." should work.
>
> On 11 April 2013 11:37, suraj ks <suraj.gillespie at gmail.com> wrote:
>
>> Hi,
>> I'm having trouble creating an activity using volo.
>> i cloned the modules which you mentioned to D:\pesit\
>>
>> i tried creating a sample like how to suggested.
>> But it shows the following error:
>>
>> D:\pesit>volo create helloAgain ayopa/xi-activity
>> Downloading:
>> https://nodeload.github.com/ayopa/xi-activity/legacy.zip/master
>> Malformed volofile: D:\pesit\helloAgain\volofile: Error: Cannot find
>> module 'xi-artwork/update-artwork'
>> onCreate did not succeed. You can try later by typing "volo onCreate"
>> inside the
>>  project that was just created, passing any arguments you passed to the
>> create call.
>> https://api.github.com/repos/ayopa/xi-activity/zipball/master used to
>> create helloAgain
>>
>>
>> Please help me out here.
>>
>> Regards,
>> Suraj
>>
>>
>>
>> On Thu, Apr 11, 2013 at 12:01 PM, suraj ks <suraj.gillespie at gmail.com>wrote:
>>
>>> Hey,
>>>
>>> I work on Ubuntu.
>>> A couple of days back it crashed due to some inexplicable reason. :(
>>> For the past several hours, I've been trying to reinstall it and  get
>>> started on the UI part.
>>> My attempts were futile(re-installing ubuntu).
>>>
>>> I'm afraid the only alternative available to me is to switch to windows.
>>> Hope you don't mind me working on windows.
>>>
>>> I'm getting started with setting up the tools needed to work on the UI
>>> right away(on windows).  :)
>>>
>>>
>>> Regards,
>>> Suraj
>>>
>>>
>>>
>>> On Wed, Apr 10, 2013 at 11:55 PM, Daniel Narvaez <dwnarvaez at gmail.com>wrote:
>>>
>>>> On 10 April 2013 19:54, suraj ks <suraj.gillespie at gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>> Its cool :)
>>>>> Which are the sugar modules that I should download to start working on
>>>>> the UI?
>>>>>
>>>>
>>>> Which OS are you using?
>>>>
>>>> Anyway I'd suggest
>>>>
>>>> 1 Install nodejs
>>>>
>>>> http://nodejs.org/
>>>>
>>>> 2 Install volojs
>>>>
>>>> http://volojs.org/
>>>>
>>>> 3 Install chrome
>>>>
>>>> 4 Clone the xi modules
>>>>
>>>> https://github.com/ayopa/xi-graphics
>>>> https://github.com/ayopa/xi-artwork
>>>> https://github.com/ayopa/xi-activity
>>>>
>>>> 5 Create an activity. Something like
>>>>
>>>> volo create helloworld ayopa/xi-activity
>>>> volo add xi-graphics
>>>>
>>>> Try to install the web app in chrome. There is great documentation
>>>> about chrome web apps here:
>>>>
>>>> http://developer.chrome.com/trunk/apps/about_apps.html
>>>>
>>>> Note that the xi libraries has been tested only on b2g (firefox) so
>>>> far, you might need small modifications to make them work. Please submit
>>>> these changes as pull requests.
>>>>
>>>> 6 Give a try to the two examples activities we have
>>>>
>>>> https://github.com/ayopa/omega-examples
>>>>
>>>>
>>>> Once that's working you should be all setup. And you can discuss with
>>>> Manuel the next development steps.
>>>>
>>>> Feel free to ask for help on the mailing list for any problem you run
>>>> into. I wrote the above list without testing it, so it might not work out
>>>> of the box... If you post any corrections here, it's going to be useful to
>>>> everyone.
>>>>
>>>> Also, i found a "GSoC mailing list", which hardly had any content
>>>>> relating to GSoC.
>>>>> Should i proceed further with my discussions in the current mailing
>>>>> list(sugar-dev) or should i switch to the GSoC mailing list?
>>>>>
>>>>
>>>> I don't know what that list is about exactly but anything about
>>>> development should definitely stay here on sugar-devel.
>>>>
>>>
>>>
>>
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>
>
> --
> Daniel Narvaez
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130411/4a66c42c/attachment-0001.html>


More information about the Sugar-devel mailing list