OurCal::Setup - how to set up OurCal
Either check the code out from
https://svn.unixbeard.net/simon/OurCal
or get it off CPAN.
OurCal has a bunch of dependencies although most of them are fairly standard - you probably have a large swathe of them, especially things like LWP::Simple and Template. You only need Data::ICal::DateTime if you want .ics support>.
LWP::Simple
Template
Data::ICal::DateTime
.ics
If you've checked out into a web accessible directory then you're pretty much good to go, other than making sure everything is readable and executable by the web server process.
Otherwise you'll need to make a web accessible directory, copy index.cgi, templates and images there and make those web accessible.
index.cgi
templates
images
OurCal::Config will help better with this but as a suggested config.
OurCal::Config
image_dir = images [providers] providers = default [default] type = dbi dsn = dbi:SQLite:db/ourcal.db
Then create a db directory and make it writeable by the web process.
db
There's all the SQL you need in the sql directory.
sql
Feel free to add other .ics files both remote and local.
To install OurCal, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OurCal
CPAN shell
perl -MCPAN -e shell install OurCal
For more information on module installation, please visit the detailed CPAN module installation guide.