Mercurial > hg > gcmultimerge
annotate README.txt @ 69:8ef792b573a9
Misc cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 12 Jul 2016 10:01:57 +0300 |
parents | 9a4dd2eb7701 |
children | 0ccf3fd49181 |
rev | line source |
---|---|
12
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
1 Google Calendar MultiMerge(tm) 9000 |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
2 =================================== |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
3 By Matti 'ccr' Hämäläinen <ccr@tnsp.org> |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
4 |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
5 |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
6 |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
7 First, we need to install the required Python tools in order to |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
8 install the required Google API Python modules ... in Debian/Ubuntu, |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
9 chant the following magic incantations: |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
10 |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
11 $ sudo apt-get install python-pip python-setuptools python-wheel |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
12 |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
13 Then, use PIP to install Google API stuff locally for the user .. |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
14 |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
15 $ pip install --upgrade google-api-python-client |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
16 |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
17 -- |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
18 |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
19 At this point, you will need to enable the Calendar API from |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
20 Google's control panel. Refer to the following web page: |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
21 |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
22 https://developers.google.com/google-apps/calendar/quickstart/python |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
23 |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
24 The section "Step 1" has the instructions. We've already done "Step 2", |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
25 which is incomplete in the guide anyway. |
a5f726b6782d
Start writing some kind of documentation.
Matti Hamalainen <ccr@tnsp.org>
parents:
9
diff
changeset
|
26 |
16 | 27 -- |
28 | |
29 Finally, edit example.cfg and run multimerge with config file as | |
30 command line parameter (if no configuration file is specified, | |
31 certain default settings will be used): | |
32 | |
33 $ ./multimerge.py example.cfg | |
34 | |
35 On first run, you will need to authenticate Multimerge to allow | |
36 access to the target calendar. You copy & paste the generated URL | |
37 to browser, authenticate and copy & paste the given "key" to | |
38 the Multimerge's prompt and hit ENTER. | |
39 | |
40 After first time authentication the program can be run from a | |
41 Cron task, if preferred. | |
42 |