set up gatsby project code example
Example 1: setup gatsby project
npm init gatsby
Example 2: create new project gatsby
//Create new project
gatsby new [gatsby-project-name] https://github.com/gatsbyjs/gatsby-starter-hello-world
cd [gatsby-project-name]
//initialize developer server
gatsby develop
//create production build the project
gatsby build
gatsby serve