pjs/webtools/doctor
lpsolit%gmail.com 7865a9f6ad Bug 362878: .htaccess should protect .pm and .pl files by default - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=myk 2006-12-05 23:09:46 +00:00
..
Doctor Bug 164167: make it possible to commit changes without entering a password - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=myk 2006-05-15 20:41:10 +00:00
templates Bug 152688 - "doctor error message does not escape input" [p=reed r=mkanat] 2006-10-24 05:33:44 +00:00
.cvsignore
.htaccess Bug 362878: .htaccess should protect .pm and .pl files by default - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=myk 2006-12-05 23:09:46 +00:00
Doctor.pm Bug 336315: Throw*Error() are unable to find templates - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=myk 2006-05-02 22:34:11 +00:00
README
doctor.cgi Bug 164167: make it possible to commit changes without entering a password - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=myk 2006-05-15 20:41:10 +00:00
doctor.css
doctor.js
install.pl Bug 334995: Doctor needs an installation script to set file permissions correctly - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=myk 2006-12-05 22:19:38 +00:00
robots.txt Bug 359129: Doctor should have a robots.txt - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=myk 2006-12-04 20:06:25 +00:00
sample.conf Bug 336283: If doctor.conf contains both WEB_BASE_URI and WEB_BASE_URI_n, only take WEB_BASE_URI into consideration and ignore all multi-installation parameters - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=myk 2006-05-05 11:17:29 +00:00

README

To use Doctor, first configure it by copying sample.conf to doctor.conf
and editing doctor.conf according to the instructions in it.

Then make sure you have the Template, AppConfig, File::Temp, Text::Diff,
Email::Valid, and MIME::Entity modules (and their dependencies), which you
can get via CPAN:

perl -MCPAN -e"install Template, AppConfig, File::Temp, Text::Diff, Email::Valid, MIME::Entity"

If you want to use the WYSIWYG editing capabilities of doctor, download
the htmlarea package (latest release or 3.0rc1) from the following site:

http://www.dynarch.com/projects/htmlarea/

Expand the package, then rename the directory it creates to "htmlarea"
and move it into the root directory of your web site.  Finally, create
a symlink called "htmlarea" inside the doctor directory that points to
the "htmlarea" directory.

Then configure your web server to serve Doctor files correctly.  See the
.htaccess file for an explanation of the configuration options, but note that
you should add the options to the global Apache configuration file if you have
access to it since the global file is much more performant than .htaccess.

Finally, put the doctor/ directory into your web server's cgi-bin/ directory
(or another location where you can run CGI scripts) and browse to doctor.cgi.

You may want to edit the templates in the templates/ subdirectory to refer
to your own website instead of the mozilla.org website.