From 20166bbbb9c8b8b5be4e2278b9c2e18b7239d661 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 4 Jun 2017 15:39:52 +0200 Subject: [PATCH] Improve installation instruction --- index.html | 2 +- tutorial.md | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index c0f51995..52b92d1d 100644 --- a/index.html +++ b/index.html @@ -36,7 +36,7 @@ layout: default

$ python3 -m pip install --upgrade radicale
-$ python3 -m radicale
+$ python3 -m radicale --config "" --storage-filesystem-folder=~/.var/lib/radicale/collections

When your server is launched, you can check that everything's OK by going diff --git a/tutorial.md b/tutorial.md index d2a75823..d78b40bb 100644 --- a/tutorial.md +++ b/tutorial.md @@ -24,8 +24,12 @@ installed. On most distributions it should be enough to install the package Then open a console and type: - $ python3 -m pip install --upgrade radicale - $ python3 -m radicale --config "" --storage-filesystem-folder=~/.var/lib/radicale/collections +```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 +``` Victory! Open [http://localhost:5232/](http://localhost:5232/) in your browser and enjoy the "Radicale works!" message! @@ -40,8 +44,10 @@ click on "Install now". Wait a couple of minutes, it's done! Launch a command prompt and type: - C:\Users\MyName> python -m pip install --upgrade radicale - C:\Users\MyName> python -m radicale --config "" --storage-filesystem-folder=~/radicale +``` +C:\Users\User> python -m pip install --upgrade radicale +C:\Users\User> python -m radicale --config "" --storage-filesystem-folder=~/radicale +``` Victory! Open [http://localhost:5232/](http://localhost:5232/) in your browser and enjoy the "Radicale works!" message!