docusaurus/packages/docusaurus-init/templates/classic/docs/deploy-your-site.md
Sébastien Lorber 78349480af
chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490)
* prepare v1-v2 domain switch

* rename v1 changelog as CHANGELOG-1.x.md

* switch v1/v2 changelogs

* Cleanup v2.docusaurus.io urls

* add netlify domain redirect

* remove circleci config

* remove another circle file
2021-03-22 20:57:49 +01:00

654 B

title
Deploy your site

Docusaurus is a static-site-generator (also called Jamstack), and builds your site as 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 directory.

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).