LinuxCommandLibrary

gatsby

gatsby

TLDR

Create a new site

$ gatsby new [site_name]
copy


Create a new site with a Gatsby 'starter'
$ gatsby new [site_name] [url_of_starter_github_repo]
copy


Start a live-reloading local development server
$ gatsby develop
copy


Perform a production build and generate static HTML
$ gatsby build
copy


Start a local server which serves the production build
$ gatsby serve
copy

Copied to clipboard