Skip to content

Scripts and instructions for setting up Python projects in Cloudflare Zero Trust environments

License

Notifications You must be signed in to change notification settings

GovTechSG/python-setup-cloudflare

Repository files navigation

python-setup-cloudflare

Scripts and instructions for setting up any Python project that requires http requests in Cloudflare Zero Trust environment.

One-time Setup

For most Python Projects.

macOS

Run this command in terminal as a non-root user. For virtualenvs or poetry environments, you need to configure each of them separately.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/GovTechSG/python-setup-cloudflare/master/install-certificates-for-python-osx.sh)"

If you want to install aider-chat, the open source AI coding assistant that edits code for you, please use the following script instead:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/GovTechSG/python-setup-cloudflare/master/install-aider-osx.sh)"

SSL Errors in cURL

If you get an SSL Verification Error from your computer, and you know what you are doing, add a -k flag to your curl command. There is a chance someone is actually trying to intercept your HTTP connection for pushing malicious payloads!

About

Scripts and instructions for setting up Python projects in Cloudflare Zero Trust environments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages