docusaurus/packages/create-docusaurus/templates/shared/docs/tutorial-basics/deploy-your-site.md
dht 5c9e4a2dcd
docs: make localhost links clickable (#7582)
* docs: clickable localhost links

* revert changes in auto-generated examples folder

Co-authored-by: dht <dht@users.noreply.github.com>
2022-06-08 14:33:50 +08:00

702 B
Vendored

sidebar_position
5

Deploy your site

Docusaurus is a static-site-generator (also called Jamstack).

It builds your site as simple static HTML, JavaScript and CSS files.

Build your site

Build your site for production:

npm run build

The static files are generated in the build folder.

Deploy your site

Test your production build locally:

npm run serve

The build folder is now served at http://localhost:3000/.

You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).