curvenote start
curvenote start builds the project and serves it as a website at http://localhost:3000. Leave it running while you write: when you save a page, it rebuilds that page and the browser reloads.
curvenote startThe site renders in the theme set by your site template, which start downloads the first time. In the Curvenote theme, a small bar over the site shows the build’s logs, the connection and settings: see Local preview. Pair it with the Curvenote extension for VS Code, which catches mistakes in your MyST before they reach the preview. Pages with a cn:articles listing show a placeholder until they are deployed.
Notebooks¶
--execute: run the Jupyter Notebooks in the project and show their outputs.--execute-parallel <n>: how many notebooks run at once, 3 by default.
Server¶
--port <port>: the port of the website (or setPORT). On a JupyterHub, see Previews on JupyterHub.--server-port <port>: the port of the content server the theme reads from (or setSERVER_PORT).--headless: start only the content server, for a theme you run yourself.--keep-host: keep yourHOSTenvironment variable instead of usinglocalhost.--template <path>: use this template instead of the one in your project file, for this run only.--max-size-webp <MB>: the largest image converted to WebP, 1.5 MB by default.
When the site looks right, export it with curvenote build or publish it with curvenote deploy.
- MyST
- Markedly Structured Text