Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bor/yagb
Yet Another GuestBook
https://github.com/bor/yagb
Last synced: 11 days ago
JSON representation
Yet Another GuestBook
- Host: GitHub
- URL: https://github.com/bor/yagb
- Owner: bor
- Created: 2010-12-15T13:28:20.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2010-12-25T16:37:21.000Z (about 14 years ago)
- Last Synced: 2023-03-11T01:20:11.920Z (almost 2 years ago)
- Language: Perl
- Homepage:
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
YAGB
Yet Another GuestBookFEATURES
* CAPTCHA
http://en.wikipedia.org/wiki/CAPTCHADEPENDENCIES
perl >= 5.10
Config::Tiny
DBI
DBD::SQLite / DBD::mysql / maybe another
GD::SecurityImage (optional, for CAPTCHA)
CGI::Session (optional, for CAPTCHA)
HTML::Parser
HTML::TemplateINSTALL
Just copy to need dir
SETUP
* Create database
for SQLite like:
$ sqlite3 data/yagb.sqlite < conf/yagb.schema.sql
for MySQL like:
$ mysqladmin create yagb
$ mysql -e "GRANT ALL PRIVILEGES ON yagb.* TO yagb@localhost IDENTIFIED BY 'password'"
$ mysql -e "FLUSH PRIVILEGES"
$ mysql -uyagb -ppassword yagb < conf/yagb.schema.sql
$ mysql -uyagb -ppassword yagb -e "ALTER TABLE yagb_messages MODIFY id SERIAL"* Copy conf/yagb.conf.exmaple to conf/yagb.conf
and edit it* Setup apache
Copy conf/yagb.httpd.conf.example to /path/to/apache/conf/yagb.httpd.conf
(or paste to httpd.conf) and edit it* Permissions
If you use SQLite DB you make sure set write permission for webserver user at 'data/yagb.sqlite' and data dir.
You set permissions like:
$ chgrp -R www data && chmod 775 data && chmod 664 data/yagb.sqlite
or
$ chown -R www data && chmod 755 data && chmod 644 data/yagb.sqlite
or
$ chmod -R 777 data && chmod 666 data/yagb.sqlite