/rocket-booster-template

🚀 The TypeScript template to kickstart rocket-booster workers

Primary LanguageTypeScriptMIT LicenseMIT

Header

🚀 The template to kickstart rocket-booster workers. The src/index.js file contains the code and configuration of the template. Documentation and examples for rocket-booster can be found here.

Deploy to Cloudflare Workers

Build and Deploy

npm install -g @cloudflare/wrangler
wrangler generate booster https://github.com/xiaoyang-sde/rocket-booster-template
  • Install dependencies
cd booster
npm install
  • Authenticate Wrangler with a Cloudflare API Token
wrangler login
wrangler config
  • Edit the configuration object in src/index.js

  • Build and publish to Cloudflare Workers

wrangler build
wrangler publish