Local preview

curvenote start builds your project and opens it in the browser as the website it will become. Write in your editor; when you save, the page rebuilds and reloads. Around your site, a small Curvenote bar holds what you need while you write: the build’s logs, whether the preview is still connected, light and dark mode, and settings.

curvenote start
A project in the local preview, with its site’s branding and the Curvenote bar at the bottom.

Figure 1:A project in the local preview, with its site’s branding and the Curvenote bar at the bottom.

The first time

The first time you open a project, a welcome screen checks that the content server is up and asks two things, both of which you can change later:

  • Site: a Curvenote site to borrow branding from, its logo, colors and design. See Your Curvenote site.

  • Open as: the Landing site, as visitors will see it, or the Article view, each page read as an article the way Curvenote publishes it.

The welcome screen. Select Continue to open the preview.

Figure 2:The welcome screen. Select Continue to open the preview.

After that, the preview opens with your saved settings and skips the questions. To see them again, choose Exit to the welcome screen from the bar’s menu.

Pages at their published addresses

Pages open at the same addresses as on the published site. With folders: true in your site options, a page in a folder opens at its folder’s path, research/buoys.md at /research/buoys, and a folder’s index.md at the folder itself. Links between pages navigate in place, and hovering one shows a card with that page’s content (Figure 4).

The article view of a page in a folder, /research/buoys.

Figure 3:The article view of a page in a folder, /research/buoys.

What’s here

Options

curvenote start takes options for its ports, notebooks and theme; curvenote start lists them. When the site looks right, publish it with curvenote deploy.

Abbreviations
SCMS
Scientific Content Management System