Skip to content

Commit 205abf9

Browse files
doc: improve sample.env documentation
1 parent e2a2779 commit 205abf9

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

sample.env

+11-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,18 @@ UCPA_MAIL_RECEIVER_IMAP_USER=
1414
UCPA_MAIL_RECEIVER_IMAP_PASSWORD=
1515
UCPA_MAIL_RECEIVER_IMAP_SEARCH_QUERY=
1616

17+
# The area id can be found in the network calls on your center's booking page.
18+
# Default: Paris : area_1639603560_9977f290-5ded-11ec-96d0-03e553c50e2f
1719
UCPA_AREA_ID=area_1639603560_9977f290-5ded-11ec-96d0-03e553c50e2f
1820

19-
FORM_RESPONSE='{ "club": "6", "firstName": "", "lastName": "", "", "tel": "" }'
21+
# The club number corresponds to the position of your center in the select of this form : https://sphinx.ucpa.com/surveyserver/s/ucpa/CONTREMARQUE/Gymlib.htm
22+
# Default: Paris: 6
23+
FORM_RESPONSE='{ "club": "6", "firstName": "", "lastName": "", "email": "", "tel": "" }'
2024
FORM_SUBMIT_ENABLED=true
2125

22-
CRON_TIME='0 */5 * * * *'
26+
CRON_TIME='0 */10 * * * *'
27+
28+
# Your preferred slots should be ordered by day and slot preference; not every day has to be present.
2329
TIME_SLOTS_PREFERENCES='{
2430
"sun": [
2531
"17h00",
@@ -45,4 +51,7 @@ TIME_SLOTS_PREFERENCES='{
4551
}'
4652

4753
CALENDAR_NAME=ucpa
54+
55+
# Generate a new uuid to make the calendar url unpredictable
56+
# Ex: node --eval "console.log(require('crypto').randomUUID());"
4857
CALENDAR_ID=5f67a0f9-3c63-4be5-b86a-c064ebcea491

0 commit comments

Comments
 (0)