|
Revision 9092, 0.8 kB
(checked in by robert, 1 year ago)
|
s/cddb/freedb/i
|
| Line | |
|---|
| 1 |
Dependencies: |
|---|
| 2 |
============= |
|---|
| 3 |
|
|---|
| 4 |
* psycopg 2 |
|---|
| 5 |
http://initd.org/projects/psycopg2 |
|---|
| 6 |
|
|---|
| 7 |
Apache + mod_python: |
|---|
| 8 |
==================== |
|---|
| 9 |
|
|---|
| 10 |
Using mod_python version 2.x.x, add this to your apache configuration: |
|---|
| 11 |
|
|---|
| 12 |
<Location /> |
|---|
| 13 |
SetHandler mod_python |
|---|
| 14 |
#PythonAutoReload On |
|---|
| 15 |
#PythonDebug On |
|---|
| 16 |
PythonPath "sys.path+['/path/to/mb2freedb']" |
|---|
| 17 |
PythonOption RootUri / |
|---|
| 18 |
PythonOption DBHost localhost |
|---|
| 19 |
PythonOption DBName musicbrainz_db |
|---|
| 20 |
PythonOption DBUser musicbrainz_user |
|---|
| 21 |
PythonOption Debug 1 |
|---|
| 22 |
#PythonOption DBPassword password |
|---|
| 23 |
PythonHandler mb2freedb.modpython |
|---|
| 24 |
</Location> |
|---|
| 25 |
|
|---|
| 26 |
Standalone HTTP server: |
|---|
| 27 |
======================= |
|---|
| 28 |
|
|---|
| 29 |
$ mb2freedb <port-number> |
|---|
| 30 |
|
|---|
| 31 |
(default port number is 8881) |
|---|