Always Start Here
Update-processing commands are always run from the top-levelsagp repository.
cd /Users/brash/sagpProcessing a Membership Update
- Save the attached JSON file, usually to the Downloads folder.
- Open Terminal.
- Change to the top-level repository:
cd /Users/brash/sagpRun:
python3 -m scripts.process_membership_update ~/Downloads/<membership_update_file>.jsonReview the proposed changes. If everything looks correct, type:
YESThe script will automatically update the membership database, regenerate website data, commit, push, deploy, and update the umbrella repository.
Processing a New Member Request
Save the attached request file, then start from the umbrella repository:
cd /Users/brash/sagpRun:
python3 -m scripts.process_membership_create ~/Downloads/<membership_create_file>.jsonReview the proposed record, derived status, and duplicate-check results. If everything is correct, type:
YESThe script will create the member, regenerate and build the website, commit and push its data, watch deployment, and update the umbrella repository.
Processing a Publication Update
- Save the attached JSON file, usually to the Downloads folder.
- Open Terminal.
- Change to the top-level repository:
cd /Users/brash/sagpRun:
python3 -m scripts.process_publication_update ~/Downloads/<publication_update_file>.jsonReview the proposed changes. If everything looks correct, type:
YESThe script will automatically update canonical YAML, regenerate the publishing index, rebuild the website, commit, push, deploy, and update the umbrella repository.
Creating a New Event
- Obtain the finalized Microsoft Word (.docx) version of the event announcement.
- Open Terminal.
- Change to the top-level SAGP repository:
cd /Users/brash/sagpGenerate a draft Event YAML:
python3 -m scripts.create_event_from_docx_ai \
~/Downloads/<event_document>.docx \
--type annual_conference \
--year 2027The generated draft YAML will be written to:
sagp_website/content/events/annual_conference/2027.draft.yamlPreview the draft website locally:
cd sagp_website
npm run devThen open:
http://localhost:4321/executive/draft-event-preview/annual-conference/2027/Edit the draft YAML as needed and refresh the preview until satisfied. Once approved, promote the draft to canonical YAML and publish using the normal publication workflow.
