mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02: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
website
folder in the root of your GitHub repo. -
cd website
-
Create a
package.json
file 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
yarn
ornpm
yarn add docusaurus -dev
or
npm install --save-dev docusaurus