Installing
2023
Comment:
|
1968
|
Deletions are marked like this. | Additions are marked like this. |
Line 44: | Line 44: |
To run you first need to run the daemon. First `cd` into the `daemon` directory and then edit the `rundaemon.sh` scrip and edit the following two lines to point to your accomplishments and trophy directories: | To run you first need to run the daemon. First `cd` into the `daemon` directory and then edit the `rundaemon.sh` scrip and edit the following two lines to point to a trophies directory in you your home dir: |
Line 47: | Line 47: |
ACCOMDIR="/home/jono/source/accomplishments" TROPHYDIR="/home/jono/source/trophies" |
TROPHYDIR="/home/jono/trophies" |
Go back to the accomplishments main page.
Install the Ubuntu Accomplishments sytem
This is still very much a work in progress and as such things need refining here. Set up the server component.
Getting The Code
Run the following to check out the code:
bzr branch lp:ubuntuaccomplishments
This package provides the trophy view and the daemon.
Setting Up
First set your PYTHONPATH to the daemon directory of where you checked out the branch:
export PYTHONPATH=$PYTHONPATH:/home/jono/source/trophyinfo/daemon/
Now you need to create your 'accomplishments' (where the accomplishments files live) directory and install some accomplishments there. By default the system looks in ~/accomplishments so create an accomplishments directory in your home directory.
Install the Ubuntu Accomplishments files
Now ensure that you have some accomplishments files in your accomplishments directory. Grab these by running:
bzr branch lp:~jonobacon/ubuntuaccomplishments/ubuntu-community
When you have grabbed this branch you can install those accomplishments to your accomplishments dir with the included script. For example:
cd ubuntu-community ./install.sh /home/jono/source/accomplishments
Running The App
To run you first need to run the daemon. First cd into the daemon directory and then edit the rundaemon.sh scrip and edit the following two lines to point to a trophies directory in you your home dir:
TROPHYDIR="/home/jono/trophies"
Now run the daemon:
./rundaemon.sh
You can then run the main trophy viewer:
cd .. quickly run
To run ubuntu-community scripts to check for those accomplishments, click File->Check Accomplishments.
Questions can go to jono@ubuntu.com
Thanks!
Accomplishments/Installing (last edited 2012-12-24 12:08:19 by 177)