Merge lp:~robin-gloster/ubuntu-accomplishments-web/readme into lp:ubuntu-accomplishments-web

Proposed by Robin Gloster
Status: Merged
Merged at revision: 249
Proposed branch: lp:~robin-gloster/ubuntu-accomplishments-web/readme
Merge into: lp:ubuntu-accomplishments-web
Diff against target: 58 lines (+29/-2)
1 file modified
README.md (+29/-2)
To merge this branch: bzr merge lp:~robin-gloster/ubuntu-accomplishments-web/readme
Reviewer Review Type Date Requested Status
ubuntu-accomplishments-web-editor-drivers Pending
Review via email: mp+141947@code.launchpad.net

Description of the change

Updated README:
- added python-bzrlib to dependencies
- added information to set up local gallery with your trophies

To post a comment you must log in.
236. By Robin Gloster

updated readme with bzrlib

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README.md'
2--- README.md 2013-01-02 17:38:26 +0000
3+++ README.md 2013-01-04 16:05:38 +0000
4@@ -2,7 +2,7 @@
5 =====================
6 1. Install required python modules
7
8- sudo apt-get install python-django-openid-auth python-django-south
9+ sudo apt-get install python-django-openid-auth python-django-south python-bzrlib
10 # if you are not on Ubuntu, use pip install -r requirements.txt
11
12 2. Get accomplishment collections
13@@ -11,6 +11,7 @@
14 cd accomplishments
15 bzr checkout lp:ubuntu-community-accomplishments
16 bzr checkout lp:ubuntu-desktop-accomplishments
17+ cd ..
18
19 3. Get sample trophies
20
21@@ -53,11 +54,37 @@
22 - http://localhost:8000/gallery/trophies/jonobacon/all/
23
24
25+Setup the gallery with your trophies
26+====================================
27+1. Make sure ubuntu-accomplishments-viewer is closed
28+
29+2. Make ubuntu-accomplishments-daemon talk to your local server
30+ bzr branch lp:ubuntu-accomplishments-daemon
31+ go into /accomplishments/daemon/api.py and change ONLINETROPHIESHOST to "localhost:8000"
32+ run "./ubuntu-accomplishments-daemon/bin/accomplishments-daemon --restart"
33+
34+3. Publish in Ubuntu Accomplishments Viewer
35+ Settings -> Publish
36+ This will open a Web Browser with your User Settings on the local Web Gallery
37+ Click Send, this will result in an Error displaying in your settings
38+
39+4. Copy your trophies folder (~/.local/share/accomplishments/trophies) to accomplisments-shares/Ubuntu One/Shared With Me
40+
41+5. Change the folder name to: SHARE NAME (The Matrix, SHARE ID) where SHARE NAME and SHARE ID are the values on your User Profile on your local web gallery
42+ Mine looks like this: robin Trophies Folder (1341578682.41) (The Matrix, 4c5ed9f2-4e50-41fa-b750-c1163b649203)
43+
44+6. Modify the database:
45+ SQLite with e.g Sqliteman
46+ in table users_userprofile change share_dirname to your directory name
47+
48+7. run ./manage import_trophies
49+
50+
51 Setup for production
52 ====================
53 1. Install required python modules
54
55- sudo apt-get install python-django-openid-auth python-django-south
56+ sudo apt-get install python-django-openid-auth python-django-south python-bzrlib
57
58 2. Get accomplishment collections
59

Subscribers

People subscribed via source and target branches