Installing

Revision 4 as of 2012-02-10 05:46:08

Clear message

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.

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) and 'trophies' (where your trophies live) directories.

If this branch is in ~/source/trophyinfo, create two directories also in ~/source:

  • ~/source/accomplishments (this is where the accomplishments files live)

  • ~/source/trophies (this is where your trophies will live) (this will be automated later)

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 your accomplishments and trophy directories:

ACCOMDIR="/home/jono/source/accomplishments"
TROPHYDIR="/home/jono/source/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!