Changes

Jump to navigation Jump to search
Introduction and simple instructions for testing
= Social Sugar =
[[Summer of Code/2013/Social Sugar|Social Sugar]] project involves development of GUI components that can help bring user's social interactions on external platforms into Sugar.

The first component we've are working on are the [[Summer of Code/2013/Social Sugar project#Mini_Profiles|mini profiles]].

== Mini Profiles ==
Mini Profiles extend [[WebServices|Web Service]] code adding stubs to Account factory class for getting public id and getting latest posts from web service.

=== Testing ===
You can test the current implementation by following these steps:

# Set up your [http://developer.sugarlabs.org/dev-environment.md.html Sugar development environment]
# Clone the social-sugar branch from following repositories replacing the appropriate modules in your sugar-build code:
## [https://github.com/axitkhurana/sugar Sugar]
## [https://github.com/axitkhurana/sugar-toolkit-gtk3 Sugar Toolkit GTK 3]
## [https://github.com/axitkhurana/sugar-artwork Sugar Artwork]
# Clone the contents of [https://github.com/axitkhurana/mock-service mock-service] repository inside <code>~/.sugar/default</code>. You'll end up with the [[#Directory Structure|directory structure]] as shown below.
# Build Sugar and add Akshit Khurana (or other people running the service) as a friend from the neighbourhood view(F1). You can use the search to find people.
# Checkout the Friend view(F2).
## Click on the small cloud icon over the buddy icon, to view my latest mock-post!
## You should see something like: "Designed from the ground up especially for children, Sugar offers an alternative to traditional "office-desktop" software. Id: 458" in a giant speech bubble like cloud.
# Congratulations! You've got mock service running on Mini Profiles.

==== Directory Structure ====
<pre>
~/.sugar/default/extensions/webservice/
├── __init__.py
└── mock-service
├── __init__.py
├── account.py
├── mock-service
│ ├── __init__.py
│ └── mock-service.py
└── icons
└── mock-service.svg

~/.sugar/default/extensions/cpsection/
├── __init__.py
└── webaccount
├── __init__.py
└── services
├── __init__.py
└── mock-service
├── __init__.py
└── service.py
</pre>
86

edits

Navigation menu