Forgot some shit in the INSTALL instructions.

This commit is contained in:
briandilley 2004-10-28 06:56:31 +00:00
parent 993a045eb4
commit 89e1d416d0

26
INSTALL
View File

@ -14,12 +14,12 @@ INSTALLING DBI and DBD:Mysql:
-------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------
At a console: At a console:
perl -MCPAN -eshell > perl -MCPAN -eshell
In the CPAN console: In the CPAN console:
install Bundle::DBI cpan> install Bundle::DBI
install DBD::mysql cpan> install DBD::mysql
EXTRACTING THE TARBALL: EXTRACTING THE TARBALL:
@ -31,7 +31,7 @@ SETTING UP THE DATABASE:
Add the required kwotes tables to the database (in the directory where you Add the required kwotes tables to the database (in the directory where you
extracted kwotes): extracted kwotes):
mysql -u database_user -D database_name -h database_host_name -p < kwotes.sql > mysql -u database_user -D database_name -h database_host_name -p < kwotes.sql
CONFIGURING KWOTES: CONFIGURING KWOTES:
-------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------
@ -51,11 +51,25 @@ SETTING PERMISSIONS:
-------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------
Setting everything to 755 (rwxr-xr-x) doesn't hurt: Setting everything to 755 (rwxr-xr-x) doesn't hurt:
cd kwotes-directory; > cd kwotes-directory;
chmod -R 755 * > chmod -R 755 *
You can come up with something more restrictive if you like. You can come up with something more restrictive if you like.
CRON JOB:
--------------------------------------------------------------------------------------
To facilite deleting "bad" quotes, kwotes uses cron. To enable this setup a
cron job to run once an hour, like so:
> crontab -e
Add the following entry:
0 * * * * /path/to/perl /path/to/kwotes.pl cleanup
Of course you should put the real path to your perl program and to kwotes.pl
otherwise it wont work.
CUSTOMIZING: CUSTOMIZING:
-------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------
Kwotes can be easily customized by editing the files in the "html" directory Kwotes can be easily customized by editing the files in the "html" directory