Summer of Code/2013/Social Sugar project/Documentation
< Summer of Code | 2013 | Social Sugar project
Revision as of 14:48, 31 July 2013 by Axitkhurana (talk | contribs) (Introduction and simple instructions for testing)
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 mini profiles.
Mini Profiles
Mini Profiles extend 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 Sugar development environment
- Clone the social-sugar branch from following repositories replacing the appropriate modules in your sugar-build code:
- Clone the contents of mock-service repository inside
~/.sugar/default
. You'll end up with the 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
~/.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