diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-09-30 13:57:50 +0200 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-09-30 13:57:50 +0200 |
commit | 5f8df199975251e1cab5022371e52e3b978b71f3 (patch) | |
tree | 60dfb62af5e1001063ac0c119030497b0fa6010f /README | |
parent | live latest_update (diff) | |
download | packages-3-5f8df199975251e1cab5022371e52e3b978b71f3.tar.gz packages-3-5f8df199975251e1cab5022371e52e3b978b71f3.tar.bz2 packages-3-5f8df199975251e1cab5022371e52e3b978b71f3.zip |
Add README about how to get me going
Diffstat (limited to 'README')
-rw-r--r-- | README | 48 |
1 files changed, 48 insertions, 0 deletions
@@ -0,0 +1,48 @@ +DIRS +==== + +dbgenerator: stuff to generate a pgo.db file +template: the initial template contributed by cla +web: web-frontend to the pgo.db file + +REQUIREMENTS +============ + +dbgenerator: +------------ +- up-to-date portage tree + (non-unionfs'ed as it might give weird mtimes) +- pkgcore 0.3.1 or later +- python 2.5 with sqlite or python 2.4 with pysqlite2 + +generation time: +at the time of writing, on my box (3ghz p4, udma100 hdd, partly cluttered fs) +db generation takes about 3 minutes + +frontend: +--------- +CherryPy 3.0.2 or later +Genshi 0.4.3 or later + +it can be used both standalone or together with mod_python + +GETTING IT GOING +================ + +1) Pick a box to get the db generated +2) cd dbgenerator && python core.py + +pick up the resulting pgo.db file + +4) move the db file so that it resides in the dir you run the CherryPy + controller from, in this example I'd recomment sticking it into + the dir of this README + +5) start CherryPy standalone: + PYTHONPATH=. python web/controller.py + + this should give you something like + "HTTP Serving HTTP on http://0.0.0.0:8080/" + +6) now point a webbrowser at http://localhost:080/ + and you should see the packages.gentoo.org site |