Re: [Sugar-devel] Involving InGSoC 2018

2018-03-01 Thread Michaël Ohayon
> 
> Yes, I have few questionsn
> Is this work suppose to use within Sugarlabs or other education institutes or 
> communities provision there own infrastructure and setup their own Sugarizer 
> in the cloud?

We are mostly targeting schools with this project.

> Do we have a SaaS model as well? I mean creating tenants and let multiple 
> communities on same Sugarlabs cloud where they can have their own 
> customization (custom activities, branding, etc)?
> Do we have a requirement on monitoring?
> 

No, for the moment allowing a community to deploy their own infrastructure is 
the asked feature.

> How frequently we release Sugarizer?

The time between updates may vary, you can ask Lionel Laské if he has more 
informations.

> I am familiar with Ansible and I would like to give try using Terraform and 
> other options.

Great !

> Is there any documentation of current architecture?

You may try to deploy Sugarizer using the readme of the Sugarizer Server repo : 
https://github.com/llaske/sugarizer-server 

You will be able to deploy using manual commands or docker-compose.

Cheers,
Michaël


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Involving InGSoC 2018

2018-02-28 Thread Michaël Ohayon
Hello Danishka !

> I am interested in working on the task of "Sugarizer School Box".
> I choose this task as I am really interested in RPi based deployments as well 
> as I am from DevOps background with AWS experience.
> 

Nice ! Do you have questions regarding the project ?

The project is about a flashable distribution image for RPi but also a second 
task to simplify the way to deploy Sugarizer in the cloud.

For the deployment part we have two options that could be nice to have.
- a really simple automation like heroku single click deploy 
(https://blog.heroku.com/heroku-button 
). This is the killer feature we should 
definitely have.
- the devops way using tools like Ansible and Terraform and Packer.


One major thing for all platforms is to think about the upgrade processes, how 
can we update the devices/server without loosing data.

Cheers,
Michaël___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] GSoC 2018 | Sugarizer School Box | Rishabh Nambiar | (Rishabh Nambiar)

2018-02-22 Thread Michaël Ohayon
Hello Rishabh !

I’m glad you’re interested in Sugar Labs and the Sugarizer School Box !

1) I think that the Pi will be able to handle the load, we won’t have that much 
kids connected to the same Pi and the networking process is not that heavy.
We should try to launch the server in background and display a web browser in 
foreground. If the load is too high we will see it quickly.

2) Yes, you’re right, the Pi should provide a Wifi AP to allow devices to 
connect. This AP should bring routing from Ethernet if connected.

3) Everything is possible, Ansible is a great tool. Combined with Terraform and 
Packer we should be allowed to deploy things without having troubles handling 
multiple cloud providers.
The installation script could be performed using simple bash and docker.

4) I think you can start thinking on your proposal. You can continue to discuss 
with us to talk about the project but also the community and the impact of that 
project.

Cheers !
Michaël
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Google Summer of Code Mentor Summit '17 Recap

2017-10-20 Thread Michaël Ohayon
Hi everyone !

Last week was the Google Summer of Code Mentor Summit '17 in Sunnyvale.

Cristina, Samson and I had the luck to represent Sugar Labs !

The summit is an unconference (Open-space conference, attendants do the
sessions).
The event started Friday ~6pm and ended Sunday ~4pm.

You can find the session schedule here :
https://sites.google.com/site/2016gsocmentorsummit/schedule-of-events/saturday-session-schedule
and
here :
https://sites.google.com/site/2016gsocmentorsummit/schedule-of-events/sunday-session-schedule

We had the opportunity to chat with many other participants (300+) from all
other the world and their nice projects.

There was a lightning talk session where I pitched about our participation
in GSoC.

Samson and I have been recorded by Google to give feedbacks and hints to
students.

If I had a chat to mention: Wolfgang from Catrobat who is making Pocket
Code - https://www.catrobat.org/ (Free educational apps for children and
teenagers)
This was a very nice talk. We talked about what is Pocket Code and how it
could be learned by teachers and integrated in our Sugarizer tablets
deployment.

We also met with people from the Software Freedom Conservancy and other
related orgs. A small video has been shooted with everyone.

To sum things up, It was a very nice summit with nice people and cool
projects !

I'm joining a few photos to this mail :
https://drive.google.com/drive/folders/0B9I_5zzdPhgvM1R1YklvSU84N0k?usp=sharing

Have a nice day everyone,
Michael
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Additions to MOhayon's Sugar activity

2015-07-20 Thread Michaël Ohayon
Hi Sneha and hi everyone,

I've seen your additions :)

I'm working onto the ui changes for the pen/color/size and also on the
collaboration mode.

Those changes will be breaking stuff so what we can do is the following.

- Fork the project https://github.com/mikklfr/Paint.activity using the
github fork button

- Push your changes onto a branch in order to keep them easily seen and
merged

- When I'll finish my updates you'll be able update your code as well to
fit with the new specifications and we'll merge your work onto the app.

Feel free to send me emails if you have any question.

Regards

--
Michaël Ohayon
Innovation Manager @ Epitech Innovation Hub
Google Summer of Code Student '15

2015-07-19 6:06 GMT+02:00 Sneha Mohanty sm21...@gmail.com:

 Hi Gonzalo,

 Thanks a lot for replying and letting me know all the cool stuff :) .
 Appreciate it.

 Nice suggestions, will do the needful.

 By the way, awesome icon store (https://thenounproject.com/ ) !! Simply
 loved it.

 I wish to collaborate with Michael too. Will issue a pull request on his
 repo if he replies to my mail after looking at my additions. (Hope he does)


 Regards,
 Sneha Mohanty



 On Sun, Jul 19, 2015 at 5:20 AM, Gonzalo Odiard godi...@sugarlabs.org
 wrote:

 A few more comments:

 1) Instead of create a new repository with the sources, fork Michael
 repository,
 and learn how to send pull requests.
 You can read about that here
 http://developer.sugarlabs.org/contributing.md.html#forking
 Then, separate your changes in small patches, by example, one patch by
 tool you add.

 2) Make commits with good titles and explanations, like this one:

 https://github.com/sugarlabs/sugar-toolkit-gtk3/commit/034706a482deef3db5e8a93b232882af3224016c

 3) I agree with Puneet's comments. Would be good consolidate the
 different tools in a
 tools selector like in the Sugar Paint activity, and improve the color
 selector palette to
 enable configure the tool size and shape, and  select custom colors.

 The activity is having nice improvements, if you and Michael can
 coordinate
 to work together will be perfect.

 About the icons https://thenounproject.com/ have a lot to use.

 On Sat, Jul 18, 2015 at 8:00 AM, Puneet Kaur puneet.gk...@gmail.com
 wrote:

 Hi, checked it out. It seems nice. Just a few recommendations and tasks
 for you :

 1. Make a github io page so that its easy for people to experiment
 directly in the browser - like the one Micheal has (
 http://mikklfr.github.io/Paint.activity/)
 2. The functionality added by the sketcher, airbrush and ribbon tools is
 nice and enriches the paint app with the diversity to play with different
 types of strokes.
 I would request you to put all of these under the palette of stroke
 rather than having separate tool buttons like we already one in the native
 sugar paint app ( do have a look into that) attaching the samples along.
 3. Better svgs for the icons would make it perfect.


 I loved the new functionality. Eager to see more of that :)


 Regards,
 Puneet

 On Sat, Jul 18, 2015 at 12:05 PM, Sneha Mohanty sm21...@gmail.com
 wrote:


 Hi Michael, Gonzalo , Manu Sir, Puneet, Lionel and everyone else,

 I have made three new additions to Michael's Paint Activity

 - sketcher

 - Ribbon

 -Airbrush

 I have done those additions on my github repo here   -
 https://github.com/SnehaMohanty/MOhayon-Sugar-paint-branch


 Note: The svg icons as of now, are not well suited for each of the
 airbrush, ribbon and sketcher , as i haven't made the suitable icons as of
 yet.


 Screenshots from my additions have been attached with this mail.


 Please take a look and give me a feedback.

 Regards,
 Sneha Mohanty







 --
 Gonzalo Odiard

 SugarLabs - Software [for | by] children learning






___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sugar Paint Project

2015-07-14 Thread Michaël Ohayon
Hello Sneha and hello everyone,

Happy to see that new people are willing to contribute to sugar !

I'm working on a Paint.activity for the Google Summer of Code 2015.
It's available here : https://github.com/mikklfr/Paint.activity
You can test it here : http://mikklfr.github.io/Paint.activity

Maybe you can give a look at the source to see how to fit with sugar web.
I would be happy to get some pull requests from you on this project :)

Regards,
--
Michaël Ohayon
Innovation Manager @ Epitech Innovation Hub
Google Summer of Code Student '15


 From: Puneet Kaur puneet.gk...@gmail.com
 To: Gonzalo Odiard godi...@sugarlabs.org
 Cc: Sugar-dev Devel sugar-devel@lists.sugarlabs.org, Tony Anderson 
 tony_ander...@usa.net
 Date: Mon, 13 Jul 2015 21:44:11 +0530
 Subject: Re: [Sugar-devel] Sugar Paint Project
 Hi all,

 I am familiar with the DataStore API. I'll work with Sneha to give this
 activity a better UI and store it in journal as desired. We are doing this
 with the help of cordova which makes it easier to convert js to sugar apps
 easily. We'll try out to work with cordova local storage plugin for storing
 the js image via the datastore api.

 Regards,
 Puneet
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Introduction to the list

2015-05-12 Thread Michaël Ohayon
It seems that the docker service is not running.

Does systemctl start docker gave you an error ?
 Le 12 mai 2015 02:55, Gonzalo Odiard godi...@sugarlabs.org a écrit :

 I have installed docker-io

 As root:
 # dnf install -y docker-io
 # systemctl start docker.service
 # systemctl enable docker.service

 Then, with my user I cloned the repo:
 git clone https://github.com/mikklfr/docker-sugar.git
 cd docker-sugar/
 sh run.sh

 FATA[] Post http:///var/run/docker.sock/v1.18/containers/create: dial
 unix /var/run/docker.sock: no such file or directory. Are you trying to
 connect to a TLS-enabled daemon without TLS?

 Any idea?

 Gonzalo

 On Mon, May 11, 2015 at 6:54 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 Yes, I'll add an option to enable using just a folder, it will be better
 that way.

 I'm running this under ArchLinux.

 The docker-io is the correct package, the another one is something not
 related at all. It's a dock applet systray program : https://fedorahosted
 .org/fpc/ticket/341
 Many distros are getting into this naming problem.

 So, you should remove docker and get docker-io.
 I think that the docker service will start automatically.

 This docker recipe should work across distributions as I didn't used
 specific items.

 I forgot to tell it but docker will only run on amd64 machines.

 The first time you'll run the script, docker will fetch the sugar image
 I've built. It's around 500mb, the source code used is in the Dockerfile
 located inside the github repo.
 It will be cached and the next launches will be almost instant.

 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-11 23:44 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:
 
  Maybe point to  directory where you have installed your activities?
  Or take it from a env variable.
 
  A few questions:
  What is your testing environment?
  I am looking at how to install docker in Fedora, and have different
 instructions
  depending on the version https://fedoraproject.org/wiki/Docker
  I am using F21, should I remove docker and install docker-io?
 
  What about other distributions? The docker recipe works across distros
  or we need a different recipe for everyone?
 
  Gonzalo
 
  Gonzalo
 
  On Mon, May 11, 2015 at 6:35 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:
 
  Hi !
 
  I've updated the script.
  You can now start a sugar environment and provide activities folders !
 
  https://github.com/mikklfr/docker-sugar
 
  I've got two activities folders which I want to test : 2048.activity
 and Valorar.activity.
 
  I can run sugar and provide those activities by running the script
 like this :
 
  $sh run.sh 2048.activity Valorar.activity
 
  Sugar shows up and activities are available in the list.
 
  You can edit the scripts from the host, they are synced with the
 docker container.
 
  Maybe you have some specific topics I could look into to get something
 useful for your needs ?
 
  --
  Michaël Ohayon
  Manager de l'Innovation Cloud et Mobilité
  Epitech Innovation Hub
 
  2015-05-11 18:26 GMT+02:00 Michaël Ohayon mohayo...@gmail.com:
 
  Hi,
 
  I've just setup something to run sugar with docker.
 
  It will work on GNU/Linux only with X11 and pulseaudio.
 
  I've published it on the docker registry and github.
 
  - https://github.com/mikklfr/docker-sugar
  - The docker image is mikkl/sugar
 
  It's kind of a poc for now.
  I'll setup a script to test an activity asap.
 
  If you want to test it :
 
  - Download and start docker service
  - Run the .sh script : https://github.com/mikklfr
 /docker-sugar/blob/master/run.sh
 
  I'll give updates :)
 
 
  --
  Michaël Ohayon
  Manager de l'Innovation Cloud et Mobilité
  Epitech Innovation Hub
 
  2015-05-03 6:17 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:
 
  Nice.
  And you have a docker recipe to create a sugar development
 environment?
  Can be used in any operating system?
  I am asking because we are thinking in how make easier develop in
 different os,
  and also how distribute Sugar to users in other platforms.
 
  Gonzalo
 
  On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:
 
  Thanks,
 
  Docker is a great tool for booting up a container using LXC, you
 can refer to it as a very light vm focused on a specific task.
  You can script in minutes a way to boot a program by targetting a
 specific OS from any GNU/Linux
 
  For instance here is a Dockerfile to
  - bootup an archlinux container
  - upgrading packages
  - copy a nginx conf file
  - clone sugarizer repository
  - expose nginx to port 80 on the host
 
  [ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile
  FROM base/archlinux:latest
 
  RUN yes | pacman -Syy
  RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git
 
  COPY nginx.conf /etc/nginx/nginx.conf
 
  RUN cd /opt; git clone https://github.com/llaske/sugarizer.git
  RUN cd /opt/sugarizer/server; npm install
  RUN mkdir /opt/sugarizer/db
 
  EXPOSE 80
 
  CMD

Re: [Sugar-devel] Introduction to the list

2015-05-12 Thread Michaël Ohayon
Yes, docker should work now :)

--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub

2015-05-12 13:37 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:



 On Tue, May 12, 2015 at 3:33 AM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 It seems that the docker service is not running.

 Does systemctl start docker gave you an error ?


 No.

 Searching in Google I found this:

 https://bugzilla.redhat.com/show_bug.cgi?format=multipleid=1214104

 Then I tried:

 sudo sh run.sh

 and is downloading.

 Is the right solution?

 Gonzalo


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Introduction to the list

2015-05-12 Thread Michaël Ohayon
Great !

- I'll look onto preserving the state for the next versions

- Docker can run any docker container based on any linux.
Your os got his own docker version but you can run everything.
My Dockerfile specifies that the container should use fedora. So the guest
OS is fedora even if I use ArchLinux, Fedora or any other distro as host.

It's a great tool for develop/test. As you can see they are some
limitations for the distribution and some specific testing, like for the
hardware part but it's kinda stable.

The docker images are stored inside /usr/share/docker I think, don't delete
them manually or you'll get into troubles.

*How to remove things :*

Image : base Image of a system (like Fedora)
Container : running instance of an image

You can list images using : docker images -a
You can list containers using : docker ps -a
You can remove all containers using : docker rm `docker ps -aq`
You can remove all images using : docker rmi `docker images -aq`

You must kill and remove containers before images, so *to remove everything*
:
docker kill `docker ps -q`
docker rm `docker ps -aq`
docker rmi `docker images -aq`

The quote ` and not ' or  is important.

I'll setup a wiki page to keep this available !

--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub

2015-05-12 14:18 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Nice. Is working now.

 This is very interesting. Started ok, and show a nice group of activities

 A few comments/questions:

 * Every time starts fresh (ask age/gender and select a color). There are
 any way to
 preserve a state?

 * Docker is using the packages installed in Fedora, right? What Fedora
 version?
 I am trying to understand if we should use this as a distribution option,
 as a testing option or if we can use it to develop/test.

 * Where is all the stuff downloaded?

 * Sugar crashed when I went to My Settings - My computer
 (probably was trying to access some devices to get information about the
 hardware)

 Gonzalo

 On Tue, May 12, 2015 at 8:41 AM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 Yes, docker should work now :)

 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-12 13:37 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:



 On Tue, May 12, 2015 at 3:33 AM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 It seems that the docker service is not running.

 Does systemctl start docker gave you an error ?


 No.

 Searching in Google I found this:

 https://bugzilla.redhat.com/show_bug.cgi?format=multipleid=1214104

 Then I tried:

 sudo sh run.sh

 and is downloading.

 Is the right solution?

 Gonzalo





 --
 Gonzalo Odiard

 SugarLabs - Software for children learning

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Introduction to the list

2015-05-11 Thread Michaël Ohayon
Yes, I'll add an option to enable using just a folder, it will be better
that way.

I'm running this under ArchLinux.

The docker-io is the correct package, the another one is something not
related at all. It's a dock applet systray program : https://fedorahosted
.org/fpc/ticket/341
Many distros are getting into this naming problem.

So, you should remove docker and get docker-io.
I think that the docker service will start automatically.

This docker recipe should work across distributions as I didn't used
specific items.

I forgot to tell it but docker will only run on amd64 machines.

The first time you'll run the script, docker will fetch the sugar image
I've built. It's around 500mb, the source code used is in the Dockerfile
located inside the github repo.
It will be cached and the next launches will be almost instant.

--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub

2015-05-11 23:44 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Maybe point to  directory where you have installed your activities?
 Or take it from a env variable.

 A few questions:
 What is your testing environment?
 I am looking at how to install docker in Fedora, and have different
instructions
 depending on the version https://fedoraproject.org/wiki/Docker
 I am using F21, should I remove docker and install docker-io?

 What about other distributions? The docker recipe works across distros
 or we need a different recipe for everyone?

 Gonzalo

 Gonzalo

 On Mon, May 11, 2015 at 6:35 PM, Michaël Ohayon mohayo...@gmail.com
wrote:

 Hi !

 I've updated the script.
 You can now start a sugar environment and provide activities folders !

 https://github.com/mikklfr/docker-sugar

 I've got two activities folders which I want to test : 2048.activity and
Valorar.activity.

 I can run sugar and provide those activities by running the script like
this :

 $sh run.sh 2048.activity Valorar.activity

 Sugar shows up and activities are available in the list.

 You can edit the scripts from the host, they are synced with the docker
container.

 Maybe you have some specific topics I could look into to get something
useful for your needs ?

 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-11 18:26 GMT+02:00 Michaël Ohayon mohayo...@gmail.com:

 Hi,

 I've just setup something to run sugar with docker.

 It will work on GNU/Linux only with X11 and pulseaudio.

 I've published it on the docker registry and github.

 - https://github.com/mikklfr/docker-sugar
 - The docker image is mikkl/sugar

 It's kind of a poc for now.
 I'll setup a script to test an activity asap.

 If you want to test it :

 - Download and start docker service
 - Run the .sh script : https://github.com/mikklfr
/docker-sugar/blob/master/run.sh

 I'll give updates :)


 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-03 6:17 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Nice.
 And you have a docker recipe to create a sugar development environment?
 Can be used in any operating system?
 I am asking because we are thinking in how make easier develop in
different os,
 and also how distribute Sugar to users in other platforms.

 Gonzalo

 On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon mohayo...@gmail.com
wrote:

 Thanks,

 Docker is a great tool for booting up a container using LXC, you can
refer to it as a very light vm focused on a specific task.
 You can script in minutes a way to boot a program by targetting a
specific OS from any GNU/Linux

 For instance here is a Dockerfile to
 - bootup an archlinux container
 - upgrading packages
 - copy a nginx conf file
 - clone sugarizer repository
 - expose nginx to port 80 on the host

 [ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile
 FROM base/archlinux:latest

 RUN yes | pacman -Syy
 RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git

 COPY nginx.conf /etc/nginx/nginx.conf

 RUN cd /opt; git clone https://github.com/llaske/sugarizer.git
 RUN cd /opt/sugarizer/server; npm install
 RUN mkdir /opt/sugarizer/db

 EXPOSE 80

 CMD [/usr/bin/nginx]
 [ohayon_m@ohayon-m-thinkpad /tmp]$

 Each modification of a container is handled like a git commit so you
can rollback at any time and launch specific snapshots.
 It has a cache system. It will bootup almost instantly after the
container is build.

 I see it like a great tool to setup an env without having to script
install for every OS or if you don't want to install every
lib/framework/etc in your OS just for some testing.
 It can be used in production and manage/scale with the new tools :
Docker Swarm and Docker Compose

 Hope you'll find it usefull !



 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-04-30 21:00 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Hi Michaël,
 Welcome!

 Few months later, I joined the Docker Paris Hackathon and had built
Sugarizer and Sugar containers

Re: [Sugar-devel] Introduction to the list

2015-05-11 Thread Michaël Ohayon
Hi !

I've updated the script.
You can now start a sugar environment and provide activities folders !

https://github.com/mikklfr/docker-sugar

I've got two activities folders which I want to test : 2048.activity and
Valorar.activity.

I can run sugar and provide those activities by running the script like
this :

$sh run.sh 2048.activity Valorar.activity

Sugar shows up and activities are available in the list.

You can edit the scripts from the host, they are synced with the docker
container.

Maybe you have some specific topics I could look into to get something
useful for your needs ?

--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub

2015-05-11 18:26 GMT+02:00 Michaël Ohayon mohayo...@gmail.com:

 Hi,

 I've just setup something to run sugar with docker.

 It will work on GNU/Linux only with X11 and pulseaudio.

 I've published it on the docker registry and github.

 - https://github.com/mikklfr/docker-sugar
 - The docker image is mikkl/sugar

 It's kind of a poc for now.
 I'll setup a script to test an activity asap.

 If you want to test it :

 - Download and start docker service
 - Run the .sh script :
 https://github.com/mikklfr/docker-sugar/blob/master/run.sh

 I'll give updates :)


 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-05-03 6:17 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Nice.
 And you have a docker recipe to create a sugar development environment?
 Can be used in any operating system?
 I am asking because we are thinking in how make easier develop in
 different os,
 and also how distribute Sugar to users in other platforms.

 Gonzalo

 On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 Thanks,

 Docker is a great tool for booting up a container using LXC, you can
 refer to it as a very light vm focused on a specific task.
 You can script in minutes a way to boot a program by targetting a
 specific OS from any GNU/Linux

 For instance here is a Dockerfile to
 - bootup an archlinux container
 - upgrading packages
 - copy a nginx conf file
 - clone sugarizer repository
 - expose nginx to port 80 on the host

 [ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile
 FROM base/archlinux:latest

 RUN yes | pacman -Syy
 RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git

 COPY nginx.conf /etc/nginx/nginx.conf

 RUN cd /opt; git clone https://github.com/llaske/sugarizer.git
 RUN cd /opt/sugarizer/server; npm install
 RUN mkdir /opt/sugarizer/db

 EXPOSE 80

 CMD [/usr/bin/nginx]
 [ohayon_m@ohayon-m-thinkpad /tmp]$

 Each modification of a container is handled like a git commit so you can
 rollback at any time and launch specific snapshots.
 It has a cache system. It will bootup almost instantly after the
 container is build.

 I see it like a great tool to setup an env without having to script
 install for every OS or if you don't want to install every
 lib/framework/etc in your OS just for some testing.
 It can be used in production and manage/scale with the new tools :
 Docker Swarm and Docker Compose

 Hope you'll find it usefull !



 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-04-30 21:00 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Hi Michaël,
 Welcome!

 Few months later, I joined the Docker Paris Hackathon and had built
 Sugarizer and Sugar containers (with graphical support for the Sugar one).


 Interesting. I don't know more from Docker than the sporadic news,
 could explain what can be done with the Sugar container?


 My proposal is the SugarWeb Basic ActivitySet which is a writting of
 some essential apps for the web version of Sugar.


 Here's the link to my GSOC proposal :
 http://wiki.sugarlabs.org/go/Summer_of_Code/2015/mohayon.SugarWebBasicActivitySet


 Great. Keep connected :)

 Gonzalo





 --
 Gonzalo Odiard

 SugarLabs - Software for children learning



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Introduction to the list

2015-05-11 Thread Michaël Ohayon
Hi,

I've just setup something to run sugar with docker.

It will work on GNU/Linux only with X11 and pulseaudio.

I've published it on the docker registry and github.

- https://github.com/mikklfr/docker-sugar
- The docker image is mikkl/sugar

It's kind of a poc for now.
I'll setup a script to test an activity asap.

If you want to test it :

- Download and start docker service
- Run the .sh script :
https://github.com/mikklfr/docker-sugar/blob/master/run.sh

I'll give updates :)


--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub

2015-05-03 6:17 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Nice.
 And you have a docker recipe to create a sugar development environment?
 Can be used in any operating system?
 I am asking because we are thinking in how make easier develop in
 different os,
 and also how distribute Sugar to users in other platforms.

 Gonzalo

 On Fri, May 1, 2015 at 1:23 PM, Michaël Ohayon mohayo...@gmail.com
 wrote:

 Thanks,

 Docker is a great tool for booting up a container using LXC, you can
 refer to it as a very light vm focused on a specific task.
 You can script in minutes a way to boot a program by targetting a
 specific OS from any GNU/Linux

 For instance here is a Dockerfile to
 - bootup an archlinux container
 - upgrading packages
 - copy a nginx conf file
 - clone sugarizer repository
 - expose nginx to port 80 on the host

 [ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile
 FROM base/archlinux:latest

 RUN yes | pacman -Syy
 RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git

 COPY nginx.conf /etc/nginx/nginx.conf

 RUN cd /opt; git clone https://github.com/llaske/sugarizer.git
 RUN cd /opt/sugarizer/server; npm install
 RUN mkdir /opt/sugarizer/db

 EXPOSE 80

 CMD [/usr/bin/nginx]
 [ohayon_m@ohayon-m-thinkpad /tmp]$

 Each modification of a container is handled like a git commit so you can
 rollback at any time and launch specific snapshots.
 It has a cache system. It will bootup almost instantly after the
 container is build.

 I see it like a great tool to setup an env without having to script
 install for every OS or if you don't want to install every
 lib/framework/etc in your OS just for some testing.
 It can be used in production and manage/scale with the new tools : Docker
 Swarm and Docker Compose

 Hope you'll find it usefull !



 --
 Michaël Ohayon
 Manager de l'Innovation Cloud et Mobilité
 Epitech Innovation Hub

 2015-04-30 21:00 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Hi Michaël,
 Welcome!

 Few months later, I joined the Docker Paris Hackathon and had built
 Sugarizer and Sugar containers (with graphical support for the Sugar one).


 Interesting. I don't know more from Docker than the sporadic news,
 could explain what can be done with the Sugar container?


 My proposal is the SugarWeb Basic ActivitySet which is a writting of
 some essential apps for the web version of Sugar.


 Here's the link to my GSOC proposal :
 http://wiki.sugarlabs.org/go/Summer_of_Code/2015/mohayon.SugarWebBasicActivitySet


 Great. Keep connected :)

 Gonzalo





 --
 Gonzalo Odiard

 SugarLabs - Software for children learning

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Introduction to the list

2015-05-01 Thread Michaël Ohayon
Thanks,

Docker is a great tool for booting up a container using LXC, you can refer
to it as a very light vm focused on a specific task.
You can script in minutes a way to boot a program by targetting a specific
OS from any GNU/Linux

For instance here is a Dockerfile to
- bootup an archlinux container
- upgrading packages
- copy a nginx conf file
- clone sugarizer repository
- expose nginx to port 80 on the host

[ohayon_m@ohayon-m-thinkpad /tmp]$ cat Dockerfile
FROM base/archlinux:latest

RUN yes | pacman -Syy
RUN yes | pacman -S gcc nodejs openssh mongodb supervisor nginx git

COPY nginx.conf /etc/nginx/nginx.conf

RUN cd /opt; git clone https://github.com/llaske/sugarizer.git
RUN cd /opt/sugarizer/server; npm install
RUN mkdir /opt/sugarizer/db

EXPOSE 80

CMD [/usr/bin/nginx]
[ohayon_m@ohayon-m-thinkpad /tmp]$

Each modification of a container is handled like a git commit so you can
rollback at any time and launch specific snapshots.
It has a cache system. It will bootup almost instantly after the
container is build.

I see it like a great tool to setup an env without having to script install
for every OS or if you don't want to install every lib/framework/etc in
your OS just for some testing.
It can be used in production and manage/scale with the new tools : Docker
Swarm and Docker Compose

Hope you'll find it usefull !



--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub

2015-04-30 21:00 GMT+02:00 Gonzalo Odiard godi...@sugarlabs.org:

 Hi Michaël,
 Welcome!

 Few months later, I joined the Docker Paris Hackathon and had built
 Sugarizer and Sugar containers (with graphical support for the Sugar one).


 Interesting. I don't know more from Docker than the sporadic news,
 could explain what can be done with the Sugar container?


 My proposal is the SugarWeb Basic ActivitySet which is a writting of some
 essential apps for the web version of Sugar.


 Here's the link to my GSOC proposal :
 http://wiki.sugarlabs.org/go/Summer_of_Code/2015/mohayon.SugarWebBasicActivitySet


 Great. Keep connected :)

 Gonzalo

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Introduction to the list

2015-04-29 Thread Michaël Ohayon
Hello everyone,

My name is Michaël Ohayon.

I'm new to this list and I'm very glad to contribute to Sugar during the
Google Summer Of Code !

I'm a 4th year computer science student at Epitech Paris.

I'm fond of free software and had the opportunity to help the local
Ubuntu's community for years during install parties.

I heard about Sugar thanks to Lionel Laské.

I have met Lionel at Le Spot by working with him on innovative projects.
I had the chance to try the XO there.

I had already heard about OLPC before and was happy to find one XO inside
my school campus.

Few months later, I joined the Docker Paris Hackathon and had built
Sugarizer and Sugar containers (with graphical support for the Sugar one).

I attended a GSOC conference and OLPC France Sugar training camp to the
Nosy Komba volunteers.

That's basically how I got to GSOC.

My proposal is the SugarWeb Basic ActivitySet which is a writting of some
essential apps for the web version of Sugar.

Here's the link to my GSOC proposal :
http://wiki.sugarlabs.org/go/Summer_of_Code/2015/mohayon.SugarWebBasicActivitySet

I've also got my own XO today and will use it to explore Sugar more in
detail !

See you on IRC,

Best regards,
--
Michaël Ohayon
Manager de l'Innovation Cloud et Mobilité
Epitech Innovation Hub
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel