Run locally¶
Install Git and Python 3.12, then clone main:
Install¶
macOS / Linux
Windows PowerShell
On Windows, use .\.venv\Scripts\python.exe wherever a lesson says python.
Configure¶
Copy .env.example to a root .env. Fill in APIM_BASE_URL with the
Shared gateway origin, without an API path, and APIM_API_KEY with your
participant key; Get your gateway values
shows where to find both. Existing environment variables override .env.
Start¶
Run these in separate terminals. On macOS/Linux, activate the environment in each terminal first.
Open your app and the solution. Follow lesson 00 using these local commands.
With --reload, saving a Python or HTML file refreshes Flask on its own;
reload the browser afterwards. Restart Flask yourself after changing .env.
Preview the guide¶
Optional; otherwise read the published workshop.
On Windows, use .\.venv\Scripts\zensical.exe for the second command.