2016-08-11 19:03:50 +02:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
title: Tutorial
|
|
|
|
permalink: /tutorial/
|
|
|
|
---
|
|
|
|
|
|
|
|
You want to try Radicale but only have 5 minutes free in your calendar? Let's
|
|
|
|
go right now! You won't have the best installation ever, but it will be enough
|
|
|
|
to play a little bit with Radicale.
|
|
|
|
|
|
|
|
When everything works, you can get a [client]({{ site.baseurl }}/clients/) and
|
2017-08-11 16:43:33 +02:00
|
|
|
start creating calendars and address books. The server **only** binds to
|
|
|
|
localhost (is **not** reachable over the network) and you can log in with any
|
|
|
|
user name and password. If Radicale fits your needs, it may be time for
|
2017-05-29 02:04:34 +02:00
|
|
|
[some basic configuration](/setup/).
|
2016-08-11 19:03:50 +02:00
|
|
|
|
2017-05-24 19:13:47 +02:00
|
|
|
Follow one of the chapters below depending on your operating system.
|
2016-08-11 19:03:50 +02:00
|
|
|
|
2017-05-24 19:13:47 +02:00
|
|
|
## Linux / \*BSD
|
2016-08-11 19:03:50 +02:00
|
|
|
|
2018-04-21 16:17:40 +02:00
|
|
|
First of all, make sure that **python** 3.3 or later (**python** ≥ 3.6 is
|
|
|
|
recommended) and **pip** are installed. On most distributions it should be
|
|
|
|
enough to install the package ``python3-pip``.
|
2016-08-11 19:03:50 +02:00
|
|
|
|
2017-05-24 19:13:47 +02:00
|
|
|
Then open a console and type:
|
2016-08-11 19:03:50 +02:00
|
|
|
|
2017-06-04 15:39:52 +02:00
|
|
|
```shell
|
|
|
|
# Run the following command as root or
|
|
|
|
# add the --user argument to only install for the current user
|
|
|
|
$ python3 -m pip install --upgrade radicale
|
|
|
|
$ python3 -m radicale --config "" --storage-filesystem-folder=~/.var/lib/radicale/collections
|
|
|
|
```
|
2016-08-11 19:03:50 +02:00
|
|
|
|
2017-06-25 11:02:36 +02:00
|
|
|
Victory! Open [http://localhost:5232/](http://localhost:5232/) in your browser!
|
|
|
|
You can login with any username and password.
|
2016-08-11 19:03:50 +02:00
|
|
|
|
2017-05-24 19:13:47 +02:00
|
|
|
## Windows
|
2016-08-11 19:03:50 +02:00
|
|
|
|
2017-05-25 19:57:30 +02:00
|
|
|
The first step is to install Python. Go to
|
|
|
|
[python.org](https://python.org) and download the latest version of Python 3.
|
2017-05-24 19:13:47 +02:00
|
|
|
Then run the installer.
|
2016-08-11 19:03:50 +02:00
|
|
|
On the first window of the installer, check the "Add Python to PATH" box and
|
|
|
|
click on "Install now". Wait a couple of minutes, it's done!
|
|
|
|
|
2017-05-24 19:13:47 +02:00
|
|
|
Launch a command prompt and type:
|
2016-08-11 19:03:50 +02:00
|
|
|
|
2017-06-04 15:39:52 +02:00
|
|
|
```
|
|
|
|
C:\Users\User> python -m pip install --upgrade radicale
|
2017-06-10 18:51:58 +02:00
|
|
|
C:\Users\User> python -m radicale --config "" --storage-filesystem-folder=~/radicale/collections
|
2017-06-04 15:39:52 +02:00
|
|
|
```
|
2016-08-11 19:03:50 +02:00
|
|
|
|
2017-07-30 10:58:06 +02:00
|
|
|
If you are using PowerShell replace ``--config ""`` with ``--config '""'``.
|
|
|
|
|
2017-06-25 11:02:36 +02:00
|
|
|
Victory! Open [http://localhost:5232/](http://localhost:5232/) in your browser!
|
|
|
|
You can login with any username and password.
|
2016-08-11 19:03:50 +02:00
|
|
|
|
2017-05-24 19:13:47 +02:00
|
|
|
## MacOS
|
2016-08-11 19:03:50 +02:00
|
|
|
|
|
|
|
*To be written.*
|