NAME
Chatty -- Real-time (comet) chat application using Catalyst
SYNOPSIS
# install perl dependencies; skip to the next set of instructions
# while the dependencies are installing
cpan Catalyst::Devel
perl Makefile.PL
make installdeps
# install nginx (or install and configure some other reverse proxy)
# configure nginx and run it
sudo cp extra/nginx.conf /etc/nginx/nginx.conf
sudo /etc/rc.d/nginx start
# configure the comet server (see L)
sudo cp extra/cometd/meteord.conf.dist /etc/meteord.conf
# add the 'SubscriberDocumentRoot' option to meteord.conf;
# it should be set to $REPOSITORY_ROOT/extra/cometd/public_html
# run meteord (in another terminal)
./extra/cometd/meteord -d
# configure hostnames
sudo cat extra/hosts >>/etc/hosts
# create the user database
sqlite3 db/info.db )
# then,
eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)
It is also usually much nicer to work with cpanminus rather than plain
old cpan:
# install cpanminus
curl -L http://cpanmin.us | perl - --self-upgrade
BUGS
Tests are sadly nonexistent. :-(
AUTHOR
Charles McGarvey
LICENSE
This library is free software. You can redistribute it and/or modify it
under the same terms as Perl itself.