Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 689 Bytes

development.md

File metadata and controls

48 lines (36 loc) · 689 Bytes

Development

yarn install

Run dev server

yarn dev

Apply Migration

In ./main directory.

# local
npx wrangler d1 migrations apply kiribi-db --local
# remote
npx wrangler d1 migrations apply kiribi-db --remote

Publish library

yarn workspace kiribi publish

Deploy demo page

If first time you need to create queue and database

$ cd example
$ npx wrangler d1 create example-kiribi-db
$ npx wrangler queues create example-kiribi-queue
$ npx wrangler d1 migrations apply example-kiribi-db --remote
# in root directory
$ yarn workspace kiribi prepack
$ cd example
$ yarn wrangler deoply