Self-hostingAll docs

Self-hosting Draft Canvas

Build the web app and serve it yourself. It is a static site with no backend.

Build#

You need Node.js 22.22.2 or later. Check out a stable vX.Y.Z tag of the repository and run:

npm ci
npm run build

Deploy dist/; npm run preview tries it locally. To host the landing page and docs too, run npm ci --prefix www and npm run build:web, then deploy dist-web/site/ (landing page and docs) and dist-web/app/ (the web app, the same as dist/) as two sites.

Serve#

Live sessions#

Live sessions run between browsers, not through your server.

Storage and updates#