Skip to content

Files

Latest commit

19234d0 · Sep 4, 2021

History

History

examples

Worktop Examples

WIP – more on the way~!

Setup

All examples are managed by cfw for their build and deploy phases, but you can easily use wrangler instead! However, instructions are intended for cfw use only.

Installation

Note: You may skip this if you ran pnpm install from the project root.

$ pnpm install
# or
$ yarn install
# or
$ npm install

Build

Note: Must be run from this (/examples) directory

$ pnpm run build
# or
$ yarn run build
# or
$ npm run build

Deploy

Important: You must set up your cfw credentials and update all workers/*/cfw.json files.

$ pnpm run deploy
# or
$ yarn run deploy
# or
$ npm run deploy

License

MIT