~clint-fewbar/charms/quantal/workitems-tracker/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Basic Start
===========

This charm deploys a private or optionally public launchpad workitems
tracker.

The tracker consists of 3 parts. A script to collect data from launchpad,
another script which generates HTML reports based on this. And then a
django application to implement OpenID based authentication.

If the private config setting is set to false, then no authorization is
needed, and the data is served over HTTP.

Manual Steps
============

If private is set, you will need to set the password for the admin user.

  juju ssh workitems-tracker/0
  sudo su - witrack
  cd team_content
  ./manage.py changepassword admin

You can then use this user to login at the django admin interface:

  https://public-address/admin

Use the admin interface ot authorize the teams that you want to give
access to by adding them as "groups" and giving them the "See any content"
privilege.


The SSL cert will also have to be manually updated in order to provide
secure access, as the default snakeoil certificate is used otherwise.

If you have any private bzr branches instead of the defaults, you will need
to manually login as witrack and add the appropriate SSH key, and run:

  bzr lp-login username

Its likely config-changed will fail if you haven't done this yet, so be sure
to check the state of the service and use juju resolved --retry to pull the
branch using these credentials.