Difference between revisions of "An exercise for new contributors"

From GCompris
Jump to: navigation, search
(a little bit more complex.)
Line 5: Line 5:
 
'''Mandatory:''' GCompris development is done on a '''GNU/Linux''' distribution of your choice.
 
'''Mandatory:''' GCompris development is done on a '''GNU/Linux''' distribution of your choice.
  
* Install GNU/Linux on your computer.
+
* Install GNU/Linux on your computer if you don't already have it.
* Get the code through the Git version control system.
+
* Get the GCompris code from the Git version control system.
 
* Compile GCompris.
 
* Compile GCompris.
* Create a new activity using the supplied ''createit.sh'' script. Use you nick name as the activity name.
+
* Create a new Python activity using the supplied ''createit.sh'' script. For example, use you nick name as the activity name.
 
* Compile GCompris again.
 
* Compile GCompris again.
 
* Run your activity with the ''runit.sh'' script (it is just the template for now).
 
* Run your activity with the ''runit.sh'' script (it is just the template for now).
* Modify the activity to display an image, an ellipse, a rectangle and a line.
+
* Modify the activity to display an image, an ellipse, a rectangle, a line and a text.
 +
* Add an event to a graphical object so that clicking on it does something visual.
 
* Test your activity by running ''runit.sh'' until you are happy with the result.
 
* Test your activity by running ''runit.sh'' until you are happy with the result.
 
* Use git to commit your changes locally.
 
* Use git to commit your changes locally.
 
* Use git to display the patch
 
* Use git to display the patch
 +
* Publish the patch to github.

Revision as of 22:53, 5 April 2012

Exercise

In order to help you practice in the GCompris framework, I propose you to make this little exercise.

Mandatory: GCompris development is done on a GNU/Linux distribution of your choice.

  • Install GNU/Linux on your computer if you don't already have it.
  • Get the GCompris code from the Git version control system.
  • Compile GCompris.
  • Create a new Python activity using the supplied createit.sh script. For example, use you nick name as the activity name.
  • Compile GCompris again.
  • Run your activity with the runit.sh script (it is just the template for now).
  • Modify the activity to display an image, an ellipse, a rectangle, a line and a text.
  • Add an event to a graphical object so that clicking on it does something visual.
  • Test your activity by running runit.sh until you are happy with the result.
  • Use git to commit your changes locally.
  • Use git to display the patch
  • Publish the patch to github.