CLI Commands
Running an app
-
running an application on locally
npm run develop # or yarn develop
Gatsby will start a hot-reloading development environment accessible at http://localhost:8000
-
preparing optimized production build
npm run build
-
serving locally production build
npm run serve
Note that your site by default will be available on http://localhost:9000
-
deploying to github pages
npm run deploy:gh
See more HERE