- Clone this repo (assumed path:
~/code/<year.djangocon.us>
) - Clone https://github.com/djangocon/pretalx-api-import (assumed path:
~/code/pretalx-api-import
) - Set up virtual environments in both repos
- In this repo,
pip install wheel && pip install -r bin/requirements.txt
(You can put the two repos wherever, but it's easiest if they're in the same directory)
- Download both the schedule and speaker list (confirmed talks only) as JSON
- Import speakers: from the pretalx-api-import folder, run
python main.py speakers /path/to/pretalx-speakers.json --output-folder ../<year>.djangocon.us
- Import schedule: from the pretalx-api-import folder, run
python main.py main /path/to/pretalx-sessions.json --output-folder ../<year>.djangocon.us
- Generate breaks/lunch/etc.: from this repo: run
python bin/process.py generate-2023-placeholders --create-keynotes 2023-10-15
(2023-10-15
is the Sunday before talks start, which is usually tutorial day but is not for 2023) - Generate opening remarks:
python bin/process.py generate-opening-remarks "2023-10-16 09:30:00" --speaker-name "<speaker name>"
and repeat for each talk day - Reformat:
python bin/process.py fmt
- Commit the
_schedule
folder
After speakers have completed the speaker information form:
- Update bin/process.py, function
add_pronouns_from_csv
to make sure you have the right field indexes - Export the speaker information form responses from Google sheets
python bin/process.py /path/to/exported.csv
- Commit the changes to
_presenters/