You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+47-29Lines changed: 47 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,17 +67,17 @@ Dependencies
67
67
68
68
1. Retrieve the dependencies:
69
69
70
-
```
71
-
composer install
72
-
```
70
+
```
71
+
composer install
72
+
```
73
73
74
74
2. At least put the correct credentials to your database (driver and url) in your `.env.local` file so you can easily create the necessary tables.
75
75
76
76
3. Run the migrations to create all the necessary tables:
77
77
78
-
```
79
-
bin/console doctrine:migrations:migrate
80
-
```
78
+
```
79
+
bin/console doctrine:migrations:migrate
80
+
```
81
81
82
82
**Davis** can also be used with a pre-existing MySQL database (_for instance, one previously managed by Baïkal_). See the paragraph "Migrating from Baikal" for more info.
83
83
@@ -93,14 +93,14 @@ Create your own `.env.local` file to change the necessary variables, if you plan
93
93
>
94
94
> If your installation is behind a web server like Apache or Nginx, you can setup the env vars directly in your Apache or Nginx configuration (see below). Skip this part in this case.
95
95
96
-
a. The database driver and url (_you should already have it configured since you created the database previously_)
96
+
**a. The database driver and url** (_you should already have it configured since you created the database previously_)
> You can bypass auth entirely if you use a third party authorization provider such as Authelia. In that case, set the `ADMIN_AUTH_BYPASS` env var to `true` (case-sensitive, this is actually the string `true`, not a boolean) to allow full access to the dashboard. This does not change the behaviour of the DAV server.
113
113
114
-
c. The auth Realm and method for HTTP auth
114
+
**c. The auth Realm and method for HTTP auth**
115
115
116
116
```shell
117
117
AUTH_REALM=SabreDAV
118
118
AUTH_METHOD=Basic # can be "Basic", "IMAP" or "LDAP"
119
119
```
120
120
> See [the following paragraph](#specific-environment-variables-for-imap-and-ldap-authentication-methods) for more information if you choose either IMAP or LDAP.
121
121
122
-
d. The global flags to enable CalDAV, CardDAV and WebDAV. You can also disable the option to have calendars public
122
+
**d. The global flags to enable CalDAV, CardDAV and WebDAV**. You can also disable the option to have calendars public
> By default, `PUBLIC_CALENDARS_ENABLED` is true. That doesn't mean that all calendars are public by default — it just means that you have an option, upon calendar creation, to set the calendar public (but it's not public by default).
135
135
136
136
137
-
e. The email address that your invites are going to be sent from
137
+
**e. The email address that your invites are going to be sent from**
You must specify a relative duration, as specified in [the RFC 5545 spec](https://www.rfc-editor.org/rfc/rfc5545.html#section-3.3.6)
146
+
147
+
```shell
148
+
BIRTHDAY_REMINDER_OFFSET=PT9H
149
+
```
150
+
151
+
If you don't want a reminder for birthday events, set it to the `false` value (lowercase):
152
+
153
+
```shell
154
+
BIRTHDAY_REMINDER_OFFSET=false
155
+
```
144
156
157
+
> [!NOTE]
158
+
>
159
+
> By default, if the env var is not set or empty, we use `PT9H` (9am on the date of the birthday).
160
+
161
+
**g. The paths for the WebDAV installation**
162
+
163
+
> [!TIP]
164
+
>
145
165
> I recommend that you use absolute directories so you know exactly where your files reside.
146
166
147
167
```shell
@@ -158,15 +178,15 @@ WEBDAV_HOMES_DIR=
158
178
>
159
179
> By default, home directories are disabled totally (the env var is set to an empty string). If needed, it is recommended to use a folder that is **NOT** a child of the public dir, such as `/webdav/homes` for instance, so that users cannot access other users' homes.
160
180
161
-
g. The log file path
181
+
**h. The log file path**
162
182
163
183
You can use an absolute file path here, and you can use Symfony's `%kernel.logs_dir%` and `%kernel.environment%` placeholders if needed (as in the default value). Setting it to `/dev/null` will disable logging altogether.
@@ -268,7 +286,7 @@ The administration interface is available at `/dashboard`. You need to login to
268
286
269
287
The main endpoint for CalDAV, WebDAV or CardDAV is at `/dav`.
270
288
271
-
> [!NOTE]
289
+
> [!TIP]
272
290
>
273
291
> For shared hosting, the `symfony/apache-pack` is included and provides a standard `.htaccess` file in the public directory so redirections should work out of the box.
0 commit comments