Sync one or more calendar Google (for now) Calendar, to other Calendar.
For example, all events created in the calendar A and B will show up on calendar C.
In order to run the binary we need to install two packages on Ubuntu:
$ apt install -y build-essential libsqlite3-dev
After that you can install, like so:
$ go install ./cmd/synccalendar
The previous command will install the binary in your $GOPATH/bin
.
$ docker build -t xguiga/synccalendar:latest .
The command line accept two flags -config
to specify the config file and -google-cred
to specify the crendentials of your Google app. More details here and here.
To generate the config file you try the following:
$ synccalendar configure
Assuming that your PATH
is correctly configured and pointing to your $GOPATH/bin
, you can simply type:
$ synccalendar
$ docker run -it \
-v `pwd`/config.yml:/config.yml \
-v `pwd`/credentials.json:/credentials.json \
xguiga/synccalendar:latest