GitDeployHub

posthog/posthog-python

github.com/posthog/posthog-python ↗
Python
3 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • POSTHOG_PROJECT_API_KEY secret Your project API key (found on the /setup page in PostHog)
  • POSTHOG_SECRET_KEY secret Your secret API key (for local evaluation and other advanced features)
  • POSTHOG_HOST PostHog host URL (remove this line if using posthog.com)
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/posthog/posthog-python
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/posthog/posthog-python
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/posthog/posthog-python
Or deploy to a different host
← Try another repo