2025-03-14 21:59:59 -06:00
|
|
|
# gatsby
|
|
|
|
|
|
|
|
|
|
> Static site generator for React.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://www.gatsbyjs.com/docs/reference/gatsby-cli/>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Create a new site:
|
|
|
|
|
|
|
|
|
|
`gatsby new {{site_name}}`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Create a new site with a Gatsby `starter`:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`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`
|