Skip to content

Update new website command in getting started #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions website/partials/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,24 @@

The easiest way to start a new project is to use the Gatsby starter. It generates a ready-to-use project with all needed dependencies.

First, [install gatsby-cli](https://www.gatsbyjs.com/docs/tutorial/part-0/).

### Create your website:

```bash
npx gatsby-cli new website https://github.com/gregberge/smooth-doc-starter
gatsby new website https://github.com/gregberge/smooth-doc
```

### Change directories into site folder

```bash
cd website
cd website/website
```

### Start development server

```bash
npm run develop
gatsby develop
```

Gatsby will start a hot-reloading development environment accessible by default at http://localhost:8000.
Expand Down