2017-12-15 15:48:19 +00:00
|
|
|
# gatsby
|
|
|
|
|
|
|
|
> Static site generator for React.
|
2019-06-07 11:58:19 +01:00
|
|
|
> More information: <https://gatsbyjs.org>.
|
2017-12-15 15:48:19 +00:00
|
|
|
|
|
|
|
- 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`
|