Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1312 This starts us transitioning the Yoga website off of an ancient version of Gatsby by initializing a new Docusaurus project. This commit adds a new stock project, to be filled in later, then fixes license lint errors. Note that this seems to have init'd using npm, but in the next diff I convert this to yarn workspaces anyway. Reviewed By: yungsters Differential Revision: D46884434 fbshipit-source-id: 7a0a4dddc144ad2d22cd18a02e8dcb9ff2184489
702 B
702 B
sidebar_position
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).