- Clone & install dependencies
Where will you clone the repository to? Call this <working-repo>
. Decide on a machine readable name <your-project>
. Clone the repo and install dependencies
cd <working-dir>
git clone https://github.com/listingslab-software/goldlabelopensource <your-project>
cd <your-project>
cd gatsby
npm install
cd ../
npm run
- Create Environment Variables
Copy gatsby/.env.sample
to gatsby/.env.production
& gatsby/.env.developer
and add the info you need
- Open and configure
gatsby/src/config
export const glConfig: ConfigShape = {
siteDisplayname: "Display Name",
siteUrl: "https://yourdomain.com",
siteEmail: "you@yourdomain.com",
siteFacebook: "https://www.facebook.com/yourfacebook",
siteTitle: "Your Site Name",
siteDescription: "Tagline,
siteKeywords: "default, keywords",
siteImage: "/jpg/default.jpg",
siteIcon: "/svg/iOS.svg",
siteTwitter: "@yourtwitter",
siteTheme: "#C5C5C5",
theme: {
slug: "opensource",
primaryColor: "#C5C5C5",
secondaryColor: "#616161",
},
plugins: ["Geolocator", "Lingua", "Tings"],
Start with the command npm start
Gatsby starts the dev server on http://localhost:8000