2003-10-24 22:03:10 +04:00
|
|
|
To use Doctor, first configure it by copying sample.conf to doctor.conf
|
|
|
|
and editing doctor.conf according to the instructions in it.
|
2002-08-24 05:56:50 +04:00
|
|
|
|
2004-05-07 06:30:25 +04:00
|
|
|
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:
|
2002-08-24 05:56:50 +04:00
|
|
|
|
2005-03-24 23:54:21 +03:00
|
|
|
perl -MCPAN -e"install Template, AppConfig, File::Temp, Text::Diff, Email::Valid, MIME::Entity"
|
2002-08-24 05:56:50 +04:00
|
|
|
|
2005-12-15 00:49:00 +03:00
|
|
|
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.
|
|
|
|
|
2004-05-07 07:02:04 +04:00
|
|
|
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.
|
2003-05-02 04:57:36 +04:00
|
|
|
|
2004-05-07 07:02:04 +04:00
|
|
|
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.
|
2004-05-07 06:30:25 +04:00
|
|
|
|
2004-05-07 07:02:04 +04:00
|
|
|
You may want to edit the templates in the templates/ subdirectory to refer
|
|
|
|
to your own website instead of the mozilla.org website.
|