1
0
silverbullet/website/🔨 Development.md
2022-10-10 14:55:48 +02:00

942 B

Stack

Silver Bullet is written in TypeScript and built on top of the excellent CodeMirror 6 editor component. Additional UI is built using Preact. ES Build is used to build both the front-end and back-end bundles. The server backend runs as a HTTP server on Deno using Oak.

Development

Requirements: Deno 1.26.

To run, after clone:

deno task install

To prepare the initial web and plug build run:

deno task build

You can then run the server in “watch mode” (automatically restarting when you change source files) with:

deno task watch-server -- <PATH-TO-YOUR-SPACE>

After this initial build, it's convenient to run three commands in parallel (in separate terminals):

deno task watch-web
deno task watch-server -- <PATH-TO-YOUR-SPACE>
deno task watch-plugs