squiggle/packages/website/README.md
2022-06-21 23:02:55 +02:00

591 B

Website

This website is built using Docusaurus 2, a modern static website generator.

Build for development

We assume you ran yarn at monorepo level.

The website depends on squiggle-lang and components, which you have to build manually.

cd ../squiggle-lang
yarn build
cd ../components
yarn build

Generate static content, to the build directory.

yarn build

Open a local dev server

yarn start

Most changes are reflected live without having to restart the server.

Clean up the build artefacts.

yarn clean