You can use wrangler to generate a new Cloudflare Workers project based on this template by running the following command from your terminal:
wrangler generate myApp https://github.com/xtuc/rewrite-3d-party
Before publishing your code you need to edit wrangler.toml
file and add your Cloudflare account_id
- more information about publishing your code can be found in the documentation.
Once you are ready, you can publish your code by running the following command:
wrangler publish
To deploy using serverless add a serverless.yml
file.