You can use the “On Your Network” URL to access your site within your network. To include a URL you can access from other devices on the same network, execute: To set up HTTPS, follow the Local HTTPS guide. Open the site in your (default) browser for you Should be run from the root of your project. developĬompiles and serves a development build of your site that reflects your source code changes in the browser in real time.
or a in the name, gatsby new will throw an error. Note: The site name should only consist of letters and numbers. my-new-blog) is the name of your site, and the second argument is the GitHub URL of the starter you want to clone. For example, to clone a new gatsby-starter-blog, execute: You can also skip the prompt and clone a starter directly from GitHub. To create a new site with the prompt, execute: Runs an interactive shell with a prompt that helps you set up a CMS, styling system and plugins if you wish. API commandsĪll the following documentation is available in the tool by running gatsby -help. Useful Gatsby CLI commands are also pre-defined in starters as run scripts.