Difference between revisions of "Google Code In 2017/background"

From Sugar Labs
Jump to: navigation, search
(Created page with "=== Getting started with coding === Sugar development is in either Python or JavaScript. * You will need knowledge of Python and GTK (See http://python-gtk-3-tutorial.readth...")
 
(Getting started with coding)
Line 1: Line 1:
=== Getting started with coding ===
+
=== Setting up the Sugar environment ===
  
Sugar development is in either Python or JavaScript.
+
There are several options for setting up the Sugar environment for development.
 +
* From Ubuntu, Fedora, or Debian, you can install Sugar either using apt-get or dnf;
 +
* From Windows or iOS, you can run Sugar in a virtual machine;
 +
* Live boot from Sugar on a Stick;
 +
* Install a someone out of date developer build environment (See http://developer.sugarlabs.org); or
 +
* or ''better yet'', use Sugar Live Build containing Sugar 0.112, which can be booted from hard drive, flash drive, and optical media, automatically starting Sugar without persistence; or can be installed as a virtual machine, with persistence and password protection, and contains all build dependencies, configured source trees (git clones in /usr/src), and binaries (make install) for the Sugar 0.112 (Download from http://people.sugarlabs.org/~quozl/sugar-live-build-20171009/).
 +
 
 +
=== Getting started with coding in Sugar ===
 +
 
 +
Most Sugar development is in either Python or JavaScript.
  
 
* You will need knowledge of Python and GTK (See http://python-gtk-3-tutorial.readthedocs.org/en/latest/);
 
* You will need knowledge of Python and GTK (See http://python-gtk-3-tutorial.readthedocs.org/en/latest/);
 
* or JavaScript/HTML5;
 
* or JavaScript/HTML5;
 
* and then the basic of Sugar development (See http://www.flossmanuals.net/make-your-own-sugar-activities/);
 
* and then the basic of Sugar development (See http://www.flossmanuals.net/make-your-own-sugar-activities/);
* and to have a Sugar development environment running (See http://developer.sugarlabs.org).
 
  
 
Please note that you must run [http://legacy.python.org/dev/peps/pep-0008/#introduction pep8] and pyflakes on your code ''before'' submitting your patches.
 
Please note that you must run [http://legacy.python.org/dev/peps/pep-0008/#introduction pep8] and pyflakes on your code ''before'' submitting your patches.

Revision as of 10:18, 11 October 2017

Setting up the Sugar environment

There are several options for setting up the Sugar environment for development.

  • From Ubuntu, Fedora, or Debian, you can install Sugar either using apt-get or dnf;
  • From Windows or iOS, you can run Sugar in a virtual machine;
  • Live boot from Sugar on a Stick;
  • Install a someone out of date developer build environment (See http://developer.sugarlabs.org); or
  • or better yet, use Sugar Live Build containing Sugar 0.112, which can be booted from hard drive, flash drive, and optical media, automatically starting Sugar without persistence; or can be installed as a virtual machine, with persistence and password protection, and contains all build dependencies, configured source trees (git clones in /usr/src), and binaries (make install) for the Sugar 0.112 (Download from http://people.sugarlabs.org/~quozl/sugar-live-build-20171009/).

Getting started with coding in Sugar

Most Sugar development is in either Python or JavaScript.

Please note that you must run pep8 and pyflakes on your code before submitting your patches.

Getting started with GIT

Some knowledge of git is important as your work will be submitted to our git repository (https://github.com/sugarlabs). The basic mechanism is a pull request (PR), which is detailed in [1].

GitHub provides a tutorial (See https://try.github.io/levels/1/challenges/1), although there are many others as well.

Note that our bug tracker is http:bugs.sugarlabs.org.

Getting started with Sugarizer

Sugar Web Framework is the JavaScript Framework for Sugar [2]. Sugarizer [3] is a subset of Sugar that allow runing activities developed with Sugar Web Framework on any web browser. Sugarizer is also available as Android, iOS, Firefox OS and Chrome Web App.