This page documents operational and administrative tasks for the Plazza calendar service. It assumes shell access to the server.
sudo systemctl restart plazza.service
sudo journalctl -u plazza.service -n 100 --no-pager
sudo systemctl daemon-reload
daemon-reload for code changes —
only when the service file itself changes.
/home/david/plazza/plazza.db
sqlite3 plazza.db ".tables"
sqlite3 plazza.db "
select id, name, source_key, is_featured, is_active
from venues
order by name;
"
sqlite3 plazza.db "
select id, name, email
from users
order by id;
"
Featured venues determine what guests see by default.
This is controlled by the is_featured column on venues.
./set_featured.py
This script:
Scrapers populate events and ensure venues exist.
./scrape_all.sh
python3 scrape_davis_library.py
python3 scrape_clark_ics.py
python3 scrape_eccles.py
python3 scrape_pioneer.py
ensure_venue(), which updates venue names,
URLs, and featured status automatically.
sqlite3 plazza.db "
delete from users where id = 3;
"
sqlite3 plazza.db "
update venues set is_active = 0 where source_key = 'example_venue';
"
main.py — FastAPI routes, session logic, calendar renderingdbhelpers.py — schema creation, migrations, venue utilitiesevents.html — calendar UI + sidebaradmin.html — this pageset_featured.py — manage guest default venuesPLAZZA_SESSION_SECRET — required for sessionsOPENAI_API_KEY — required for Ask-a-question feature