blob: 11c18791097e7155064816620b3dfd4a4152adae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
= sublab calendar stuff
Code and tools related to working with the sublab calendar. Currently
'working' means reading it.
== Getting started
You'll need ruby and ruby bundler (http://bundler.io).
# install dependencies
bundle install
# start a REPL
pry -r ./sublab_calendar
cal = SublabCalendar.load
cal.events # all events
cal.future # future events
cal.past # past events
# dump future events as JSON
puts JSON.pretty_generate(cal.future)
== Vagrant
There is a Vagrant (vagrantup.com) VM defined for playing around with a
radicale CalDAV server.
# start the VM
vagrant up
# stop the VM
vagrant halt
# help!
vagrant -h
vagrant <command> -h
The VM being imported and provisioned on first run, this may take a
little while depending on your Internet connection.
The radicale server will be available on your host machine on http://localhost:5232.
See http://radicale.org/ for more docs.
Note: this is a debian wheezy (7.4), which ships an old version of
radicale. Upgrading to a more current version may be necessary for
proper client and feature support.
|