91dc7729f9
Lets organizers automatically populate a shared Google Sheet (the same kind they previously built by hand) with an Overview tab and one tab per group, instead of printing dicts. Group tabs are named after all their members (not a single host) and show each group's route, course times, and guests with allergies. The Overview tab also gets configurable Meal Times, Support Contacts, and Info sections, passed through as plain data from tatami_masterplan.py. Export is fully opt-in via GOOGLE_SHEETS_CREDENTIALS_FILE and GOOGLE_SHEETS_SPREADSHEET_ID; without them, behavior is unchanged.
13 lines
677 B
Bash
13 lines
677 B
Bash
# Copy this file to `.env` and fill in your real key. `.env` is gitignored.
|
|
# Required: Google Maps API key with the Routes API enabled.
|
|
GOOGLE_MAPS_API_KEY=your-api-key-here
|
|
|
|
# Optional: export the masterplan to a shared Google Sheet for participants.
|
|
# Set up once: create a Google Cloud service account, enable the Google
|
|
# Sheets API for its project, download the service account's JSON key, then
|
|
# create a blank Google Sheet and share it with the service account's
|
|
# client_email (found in the JSON key) as Editor. Leave both unset to skip
|
|
# sheet export entirely.
|
|
GOOGLE_SHEETS_CREDENTIALS_FILE=service-account.json
|
|
GOOGLE_SHEETS_SPREADSHEET_ID=your-spreadsheet-id-here
|