reminder application, uses a logarithmic falloff to time reminder emails
This depends on the sendmail.ml file from:
http://www.donadeo.net/2008/04/sending-emails-via-gmail-with-objective-caml/
and fill in your own account information.
Building the daemon is a three part process described in BUILD_REMINDER_DAEMON.
Building the ocsigen app can be achieved by `cat BUILD_REMINDER`
You then need to put, in ocsigen.conf, something like:
<extension findlib-package="batteries"/>
<extension findlib-package="orm.syntax"/>
<extension module="/var/www/ocsigen/sendmail.cmo" />
<host>
<site path="remind">
<eliom module="/var/www/ocsigen/remind.cmo" />
</site>
</host>
Then start ocsigen:
sudo ocsigen
and visit localhost:8000/remind/
Fill out a reminder to initialize the database, then start the daemon:
./remind_daemon > remind.log
And you should be in business. |