UNPKG

create-cloudflare

Version:

A CLI for creating and deploying new applications to Cloudflare.

24 lines (16 loc) 756 B
## Usage You can run the Worker defined by your new project by executing `wrangler dev` in this directory. This will start up an HTTP server and will allow you to iterate on your Worker without having to restart `wrangler`. ### Types and autocomplete This project also includes a pyproject.toml file with some requirements which set up autocomplete and type hints for this Python Workers project. To get these installed you'll need `uv`, which you can install by following https://docs.astral.sh/uv/getting-started/installation/. Once `uv` is installed, you can run the following: ``` uv venv uv sync ``` Then point your editor's Python plugin at the `.venv` directory. You should then have working autocomplete and type information in your editor.