Version: 1.14.6
Create a New Site
In this section, we'll get our Docusaurus site up and running for local development. The process only takes a few minutes.
#
Scaffold the Site- Execute the
docusaurus-init
command in your terminal.
The
Linking dependencies...
step might take a while, but it will finish eventually.
The following contents will be created in your current directory. Some example documentation pages (under docs
) and blog posts (under website/blog
) are included.
- Run
cd website
to go into thewebsite
directory. - Run
npm start
oryarn start
.
A browser window will open up at http://localhost:3000.
Congratulations, you have just made your first Docusaurus site! Click around the pages to get a feel for it.