Forgot some shit in the INSTALL instructions.
This commit is contained in:
parent
993a045eb4
commit
89e1d416d0
26
INSTALL
26
INSTALL
@ -14,12 +14,12 @@ INSTALLING DBI and DBD:Mysql:
|
||||
--------------------------------------------------------------------------------------
|
||||
At a console:
|
||||
|
||||
perl -MCPAN -eshell
|
||||
> perl -MCPAN -eshell
|
||||
|
||||
In the CPAN console:
|
||||
|
||||
install Bundle::DBI
|
||||
install DBD::mysql
|
||||
cpan> install Bundle::DBI
|
||||
cpan> install DBD::mysql
|
||||
|
||||
|
||||
EXTRACTING THE TARBALL:
|
||||
@ -31,7 +31,7 @@ SETTING UP THE DATABASE:
|
||||
Add the required kwotes tables to the database (in the directory where you
|
||||
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:
|
||||
--------------------------------------------------------------------------------------
|
||||
@ -51,11 +51,25 @@ SETTING PERMISSIONS:
|
||||
--------------------------------------------------------------------------------------
|
||||
Setting everything to 755 (rwxr-xr-x) doesn't hurt:
|
||||
|
||||
cd kwotes-directory;
|
||||
chmod -R 755 *
|
||||
> cd kwotes-directory;
|
||||
> chmod -R 755 *
|
||||
|
||||
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:
|
||||
--------------------------------------------------------------------------------------
|
||||
Kwotes can be easily customized by editing the files in the "html" directory
|
||||
|
Loading…
Reference in New Issue
Block a user