Platform Team/Guide/Sweets Usage: Difference between revisions

No edit summary
Line 15: Line 15:
Relogin from X session to let Gnome or Sugar start Polkit authentication agent.
Relogin from X session to let Gnome or Sugar start Polkit authentication agent.


=== Bundle install ===
=== Install ===


  wget http://download.sugarlabs.org/sweets/sweets/installer.sh
  wget http://download.sugarlabs.org/sweets/sweets/installer.sh
Line 22: Line 22:
Relogin from X session to take into account the new PATH environment variable value.
Relogin from X session to take into account the new PATH environment variable value.


=== Sources install ===
{{Code|sweets}} might be also [[Platform_Team/Guide/Sweets_Packaging|run]] from the sources.
 
This will be useful for people who prefer using sources.
 
* Clone sweets sources and install it (after the first run, you need to relogin to take into account the new PATH value, then just run {{Code|sweets}} command):
 
git clone git://git.sugarlabs.org/sdk/sweets.git
cd sweets
git submodule init
git submodule update
./sweets upgrade


=== Upgrade ===
=== Upgrade ===
Line 39: Line 29:


  sweets upgrade
  sweets upgrade
If sweets is being used from sources, pull new commits from cloned directory:
git pull origin master
git submodule update


== Usage ==
== Usage ==