For when you want a calendar in the cloud but you don't want to use google calendar.
Here are the steps required to use html-pal-cal-thing
- Install the pal package
- Create the directory path $HOME/doc/cal/ and place the contents of this repo in that directory (you can also change this in the script if you would like to put this in a different directory).
- Add a $PRIVATE_UPLOAD
username@server:pathto your environment. See $PRIVATE_UPLOAD below for more information. - Setup update-cal.sh to run in a cronjob every X minutes or hours or days.
This will essentially take your pal calendar and events, render them in
html, and upload it to $PRIVATE_UPLOAD. You will probably need to make
update-cal.sh by running
chmod +x update-cal.sh.
The PRIVATE_UPLOAD environment variable essentially tells scp where to upload your calendar.html file to.
export PRIVATE_UPLOAD=username@servername:/path/to/calendar_dir/This is not necessary and when/if you use this project you can replace the $PRIVATE_UPLOAD with a static string. I basically just did this to avoid uploading secrets to the web.
This code is licensed under the MIT License. Copyright © 2015 Elijah Caine