mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-31 12:17:58 +01:00
23 lines
417 B
Markdown
23 lines
417 B
Markdown
# gatsby
|
|
|
|
> Static site generator for React.
|
|
|
|
- Create a new site:
|
|
|
|
`gatsby new {{site_name}}`
|
|
|
|
- Create a new site with a Gatsby 'starter':
|
|
|
|
`gatsby new {{site_name}} {{url_of_starter_github_repo}}`
|
|
|
|
- Start a live-reloading local development server:
|
|
|
|
`gatsby develop`
|
|
|
|
- Perform a production build and generate static HTML:
|
|
|
|
`gatsby build`
|
|
|
|
- Start a local server which serves the production build:
|
|
|
|
`gatsby serve`
|