mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-12-11 11:51:42 +01:00
36 lines
646 B
Markdown
36 lines
646 B
Markdown
|
---
|
||
|
sidebar_position: 1
|
||
|
---
|
||
|
|
||
|
# Tutorial Intro
|
||
|
|
||
|
Let's discover **Docusaurus in less than 5 minutes**.
|
||
|
|
||
|
## Getting Started
|
||
|
|
||
|
Get started by **creating a new site**.
|
||
|
|
||
|
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
|
||
|
|
||
|
## Generate a new site
|
||
|
|
||
|
Generate a new Docusaurus site using the **classic template**:
|
||
|
|
||
|
```shell
|
||
|
npm init docusaurus@latest my-website classic
|
||
|
```
|
||
|
|
||
|
## Start your site
|
||
|
|
||
|
Run the development server:
|
||
|
|
||
|
```shell
|
||
|
cd my-website
|
||
|
|
||
|
npx docusaurus start
|
||
|
```
|
||
|
|
||
|
Your site starts at `http://localhost:3000`.
|
||
|
|
||
|
Open `docs/intro.md` and edit some lines: the site **reloads automatically** and displays your changes.
|