This file is a one-time reference for getting the initial commit pushed to the SolaceLabs/sap-pm-demo repository. After this is done once, you can delete this file (it's intentionally not committed).
- The empty
SolaceLabs/sap-pm-demorepo exists on GitHub (you created it) - You have Git installed on your Mac
- You're authenticated to GitHub (either SSH key or
ghCLI or HTTPS with credential helper)
On your Mac:
cd ~/Documents # or wherever you keep code
git clone https://github.com/SolaceLabs/sap-pm-demo.git
cd sap-pm-demoYou should see an empty directory (just a .git folder).
If you got this bundle as a zip, unzip it. Then copy all the files into the cloned repo:
# Assuming the bundle is at ~/Downloads/sap-pm-demo-bundle/
# and the cloned repo is at ~/Documents/sap-pm-demo/
# Copy everything (including hidden files like .gitignore)
cp -R ~/Downloads/sap-pm-demo-bundle/. ~/Documents/sap-pm-demo/
cd ~/Documents/sap-pm-demo
ls -la # should show all the files# Make sure there's no .env file
ls -la agent/.env 2>/dev/null && echo "❌ STOP! .env exists — remove it" || echo "✅ No .env"
# Make sure no .key files
find . -name "*.key" -not -path "./.git/*" | head
# Should output nothing
# Make sure no __pycache__
find . -name "__pycache__" -not -path "./.git/*"
# Should output nothing or only filtered ones
# Check .gitignore is in place
cat .gitignore | head -20
# Should show the comprehensive .gitignore contentIf any of those checks find something — stop and clean up before committing. Once committed to a public repo, it's effectively permanent.
chmod +x agent/run_agent.sh
chmod +x agent/run_simulator.sh# Add everything
git add .
# Verify what's being added (sanity check)
git status
# Look at the file list — make sure no .env, *.key, or other secrets are in it
# If anything looks wrong, run: git reset HEAD <bad-file>
# Commit
git commit -m "Initial commit: SAP PM Demo with maintenance agent, dashboard, specs, and docs"
# Push to main
git push -u origin mainYou should see successful push output. Go to https://github.com/SolaceLabs/sap-pm-demo to verify everything appears.
In your browser, visit https://github.com/SolaceLabs/sap-pm-demo and confirm:
- README.md displays correctly on the repo home page
- All directories are visible (agent/, web/, specs/, deploy/, docs)
- LICENSE shows as "Apache 2.0" in GitHub's UI
- No
.env,*.key, or other sensitive files visible
Once committed, this file has served its purpose. You can delete it locally and re-push, or just ignore it:
rm COMMIT_INSTRUCTIONS.md
git add -A
git commit -m "Remove one-time commit instructions"
git pushAfter this initial commit, the workflow is:
# Edit files
# Then:
git add .
git commit -m "Description of what changed"
git pushFor new file deliveries from Claude, the pattern is:
- Claude provides updated files
- You drop them into the local clone (replacing existing or adding new)
- Review the diff:
git diff - Commit and push
When deploying changes to EC2:
ssh ubuntu@ec2-54-219-47-90.us-west-1.compute.amazonaws.com
cd /home/ubuntu/sap/ai/pm-demo
git pull
# Restart any affected services