template for mini realtime apps, based on calcit-js eco. But with calcit-rs runtime.
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-pageRun backend in calcit-rs:
# dev mode
mode=dev cr compact.cirru --entry server -w
# release mode
cr compact.cirru --entry serverMIT