Skip to main content

Running Docusaurus locally

Especially when writing and organising content, you may want to see changes immediately and/or check them before deployment.

First install dependencies. In project folder run

yarn install

And run it by executing:

yarn start

Builds and serves a preview of your site locally on http://localhost:3000/. It also watches for changes and refreshes page in browser.

Testing build locally

To see your build locally, run:

yarn serve

It serves content of build folder on http://localhost:3000/