Step-by-step procedures for operating the SPX trading system, server, and website. Click any section to expand it.
Run this on your Mac (Terminal app), not on the server:
ssh victor@165.227.84.78
Enter your SSH passphrase when prompted (it's in your password manager). You'll land at a prompt that reads victor@spx-server:~$ — that confirms you're on the VPS.
If the prompt still says victorngoma@Victors-MacBook-Pro, you're still on your Mac — the SSH didn't connect. Re-run the command.
Run this on your Mac (NOT on the VPS — open a fresh Mac terminal, do not SSH in first):
scp victor@165.227.84.78:/home/victor/spx-server/journal/trades_journal_2026.csv ~/Downloads/
Enter your SSH passphrase. The file lands in your Mac's ~/Downloads/ folder.
sudo systemctl status spx-server
Look for Active: active (running) in green. Press q to exit the view.
sudo systemctl restart spx-server
Then confirm it came back up:
sudo systemctl status spx-server
Tail the log to watch incoming webhooks in real time:
sudo tail -f /var/log/spx-server.log
Press Ctrl + C to stop watching.
To see just the last 50 lines:
sudo tail -50 /var/log/spx-server.log
sudo systemctl status spx-dashboard
Restart if needed:
sudo systemctl restart spx-dashboard
The new person can now log in to that tool via email PIN code. Each tool has its own policy/allowlist — add someone to one tool without affecting others.
To remove someone: same steps, click the × on their email chip, then Save.
Keep the filename index.html — Cloudflare serves that as the page automatically. Keep each project's files in its own folder.
Part 1 — deploy the page:
Part 2 — lock it:
Test in a fresh Incognito window (or phone) — you should hit the Cloudflare Access email login. If it loads straight through, the lock isn't active.
If the page loads with no login prompt, the lock isn't working — check the Application exists and its DNS record is orange-clouded (proxied).