mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
* 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
654 B
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).