File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55__pycache__
66.DS_Store
77registered_log.txt
8- schedule .json
8+ schedule_cache .json
99pretix_cache.json
1010* .egg-info /
11+ livestreams.toml
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ All configuration is server-agnostic. You can set up your own Discord server and
2424Configuration files:
2525
2626* [ ` prod-config.toml ` ] ( ./prod-config.toml ) or [ ` test-config.toml ` ] ( ./test-config.toml ) : Prod/Test configuration
27- * [ ` livestreams.toml ` ] ( ./livestreams.toml ) : Livestream URL configuration
27+ * [ ` test- livestreams.toml` ] ( ./test- livestreams.toml ) : Test livestream URL configuration
2828
2929Arguments and environment variables:
3030
@@ -36,7 +36,7 @@ Files expected in the current directory (may be empty):
3636
3737* ` pretix_cache.json ` : Local cache of Pretix ticket data
3838* ` registered_log.txt ` : Log of registered users
39- * ` schedule .json` : Local cache of [ programapi] ( https://github.com/europython/programapi ) schedule
39+ * ` schedule_cache .json` : Local cache of [ programapi] ( https://github.com/europython/programapi ) schedule
4040
4141## Setup
4242### Quickstart using ` pip `
Original file line number Diff line number Diff line change 55 repository_url : https://github.com/EuroPython/discord.git
66
77 tasks :
8-
98 - name : Enable persistent logging for journald
109 ini_file :
1110 path : /etc/systemd/journald.conf
1514 no_extra_spaces : true
1615 backup : true
1716
18-
1917 - name : reload systemd-journald
2018 systemd :
2119 name : systemd-journald
9492 owner : bot
9593 group : bot
9694
97- - name : Create schedule .json in bot's home directory
95+ - name : Create schedule_cache .json in bot's home directory
9896 file :
99- path : /home/bot/schedule .json
97+ path : /home/bot/schedule_cache .json
10098 state : touch
10199 owner : bot
102100 group : bot
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ services:
44 build :
55 context : .
66 env_file :
7- - /etc/EuroPython/discord /.secrets
7+ - /root /.secrets
88 volumes :
99 - type : bind
1010 source : prod-config.toml
1111 target : /home/bot/prod-config.toml
1212 read_only : true
1313
1414 - type : bind
15- source : /etc/EuroPython/livestreams /livestreams.toml
15+ source : /root /livestreams.toml
1616 target : /home/bot/livestreams.toml
1717 read_only : true
1818
@@ -22,8 +22,8 @@ services:
2222 read_only : false
2323
2424 - type : bind
25- source : /home/bot/schedule .json
26- target : /home/bot/schedule .json
25+ source : /home/bot/schedule_cache .json
26+ target : /home/bot/schedule_cache .json
2727 read_only : false
2828
2929 - type : bind
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ pretix_cache_file = "pretix_cache.json"
3333# UTC offset in hours (e.g. 2 for CEST)
3434timezone_offset = 2
3535api_url = " https://static.europython.eu/programme/ep2025/releases/current/schedule.json"
36- schedule_cache_file = " schedule .json"
36+ schedule_cache_file = " schedule_cache .json"
3737livestream_url_file = " livestreams.toml"
3838main_notification_channel_name = " programme-notifications"
3939
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ pretix_cache_file = "pretix_cache.json"
3333# UTC offset in hours (e.g. 2 for CEST)
3434timezone_offset = 2
3535api_url = " https://static.europython.eu/programme/ep2025/releases/current/schedule.json"
36- schedule_cache_file = " schedule .json"
37- livestream_url_file = " livestreams.toml"
36+ schedule_cache_file = " schedule_cache .json"
37+ livestream_url_file = " test- livestreams.toml"
3838main_notification_channel_name = " programme-notifications"
3939
4040# optional simulated start time for testing program notifications
File renamed without changes.
You can’t perform that action at this time.
0 commit comments