Skip to main content

Cloning from Github and running locally

Clone Docusaurus from Github and run it on your local computer.

  1. Create a new repository in Github.

  2. Copy the repository link.

  3. Clone the repository on your local computer.

    git clone git@github.com:<YourGithubUsername>/<YourRepositoryName>.git
  4. Change the directory to your repository.

    cd <Your_Repository_Directory>
  5. Run the following in your shell.

    npx create-docusaurus@latest notes classic
  6. If all goes well, you'll see the following message.

    Happy building awesome websites!
  7. Change to the docusaurus directory.

  8. Run the following.

    yarn start

    You Docusaurus site is loaded at http://localhost:3000/<name_of_local_docusaurus_directory>