Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 775 Bytes

File metadata and controls

42 lines (29 loc) · 775 Bytes

Calcium workflow

template for mini realtime apps, based on calcit-js eco. But with calcit-rs runtime.

Usages

Install Node.js, Yarn, Calcit to start.

Clone dependencies into ~/.config/calcit/modules/ with caps command from Calcit.

Code with calcit-editor.

Run frontend:

# dev mode
corepack enable && corepack prepare yarn@4.12.0 --activate
yarn install --immutable
caps
yarn watch-page
yarn vite # for browser app

# release mode
caps --ci
yarn install --immutable
yarn compile-page
yarn release-page

Run backend in calcit-rs:

# dev mode
mode=dev cr compact.cirru --entry server -w

# release mode
cr compact.cirru --entry server

License

MIT