mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-04 16:16:38 +01:00
788 B
788 B
| id | title |
|---|---|
| installation | Installation |
Docusaurus was designed from the ground up to be easily installed and used to get your website up an running quickly. To install Docusaurus, follow these steps:
-
Create a
websitefolder in the root of your GitHub repo. -
cd website -
Create a
package.jsonfile with the following scripts that will be used when developing documentation with Docusaurus:{ "scripts": { "start": "docusaurus-start", "build": "docusaurus-build", "publish-gh-pages": "docusaurus-publish", "examples": "docusaurus-examples" } } -
Install Docusaurus with
yarnornpmyarn add docusaurus -devor
npm install --save-dev docusaurus