mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-01 19:27:48 +02:00
* codesandbox: use node 14 by default * Regenerate examples * Add example json files to prettierrignore
28 lines
596 B
Markdown
28 lines
596 B
Markdown
---
|
|
title: Getting Started
|
|
slug: /
|
|
---
|
|
|
|
## Step 1: Generate a new Docusaurus site
|
|
|
|
If you haven't already, generate a new Docusaurus site using the classic template:
|
|
|
|
```shell
|
|
npx @docusaurus/init@latest init my-website classic
|
|
```
|
|
|
|
## Step 2: Start your Docusaurus site
|
|
|
|
Run the development server in the newly created `my-website` folder:
|
|
|
|
```shell
|
|
cd my-website
|
|
|
|
npx docusaurus start
|
|
```
|
|
|
|
Open `docs/getting-started.md` and edit some lines. The site reloads automatically and display your changes.
|
|
|
|
## That's it!
|
|
|
|
Congratulations! You've successfully run and modified your Docusaurus project.
|