NAME
OurCal::Setup - how to set up OurCal
METHOD
GET THE CODE
Either check the code out from
https://svn.unixbeard.net/simon/OurCal
or get it off CPAN.
INSTALL THE DEPENDENCIES
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>.
MAKE AN INSTANCE
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.
WRITE A CONFIG
OurCal::Config
will help better with this but as a suggested 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.
SETUP THE DATABASE
There's all the SQL you need in the sql
directory.
YOU'RE GOOD TO GO
Feel free to add other .ics
files both remote and local.