Infrastructure Team/Account Management

From Sugar Labs
< Infrastructure Team
Revision as of 09:32, 7 March 2010 by Sascha silbe (talk | contribs) (moved Infrastructure Team/Account Managemnt to Infrastructure Team/Account Management: Fix typo in page name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

There are a number of account management systems available.

Fedora Account System


This is a test install on Ubuntu 9,04.

Install dependancies

sudo apt-get install git-core postgresql-plpython-8.3 postgresql-8.3 python-pgsql python-turbomail python-turbogears python-sqlalchemy python-genshi python-psycopg2 python-tz python-pybabel python-geoip python-openid python-migrate python-memcache

possible mission dependancies

pygpgme babel python-fedora

Start database

sudo /etc/init.d/postgresql-8.3 restart

edit pg_hba.conf

sudo vim /etc/postgresql/8.3/main/pg_hba.conf


 host all all md5
 host all all ::1/128         md5

reStart database

sudo /etc/init.d/postgresql-8.3 restart

Get the code


If you want to hack on the Account System you need to checkout the module.

 git clone git://
 cd fas

Generate Metadata


Once you are inside you're fresh checkout, you need to regenerate some files that are created by the build script,

 python egg_info && python build

This will create the fas.egg-info directory which has metadata about the program. It allows things like the identity provider to work.

Start up Postgres