| 1 |
Developing irclog2html |
| 2 |
====================== |
| 3 |
|
| 4 |
To play with the scripts without installing, use:: |
| 5 |
|
| 6 |
make |
| 7 |
bin/irclog2html --help |
| 8 |
bin/logs2html --help |
| 9 |
|
| 10 |
To run the test suite, use:: |
| 11 |
|
| 12 |
make test |
| 13 |
|
| 14 |
or (even better) :: |
| 15 |
|
| 16 |
detox |
| 17 |
|
| 18 |
The testcases directory contains some sample logs, so you can try :: |
| 19 |
|
| 20 |
bin/logs2html testcases |
| 21 |
|
| 22 |
and look at testcases/index.html afterwards. |
| 23 |
|
| 24 |
To play with the CGI script, try :: |
| 25 |
|
| 26 |
IRCLOG_LOCATION=testcases bin/irclogsearch q=query |
| 27 |
|
| 28 |
|
| 29 |
But I don't have make! |
| 30 |
====================== |
| 31 |
|
| 32 |
Don't worry, feel free to use buildout directly:: |
| 33 |
|
| 34 |
virtualenv python |
| 35 |
python/bin/python bootstrap.py |
| 36 |
bin/buildout |
| 37 |
bin/test |
| 38 |
bin/irclog2html --help |
| 39 |
bin/logs2html --help |
| 40 |
|