Kick off your project with this Sawala boilerplate. This starter ships with the main Gatsby configuration files you might need to get up and running blazing fast with the blazing fast app generator for React.
-
Create a Gatsby Site
Use the Gatsby CLI to create a new site :
# create a new Gatsby site using sawala-gatsby-boilerplate gatsby new sawala-gatsby-boilerplate https://github.com/sawala-tech/sawala-gatsby-boilerplate
Clone repository (manual) :
# clone git repository git clone https://github.com/sawala-tech/sawala-gatsby-boilerplate.git # install all packages cd sawala-gatsby-boilerplate/ yarn install
-
Start developing.
Navigate into your new site’s directory and start it up.
cd sawala-gatsby-boilerplate/ gatsby develop
-
Open the source code and start editing!
Your site is now running at
http://localhost:8000
!Note: You'll also see a second link:
http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.Open the
sawala-gatsby-boilerplate
directory in your code editor of choice and editsrc/pages/index.js
. Save your changes and the browser will update in real time!
Use Extensions VS Code :