Important Convention Note
Always create your own branch to work on the site. Use
staging
for testing. Both Netlify flags towards the bottom display status ofstaging
andmain
site.main
is production ONLY and deployed by dedicated Dev or Comms team through Forestry.
Status Staging
(Password protected; ask in Web Channel on Mattermost)
-
Clone the Repo
# create a new folder to get going git clone https://github.com/paritytechmarcomms/gatsby-theme-parity-events.git
-
Get Setup
Navigate into your new site’s directory and install all dependencies.
cd my-folder/ yarn
-
Fire the engine
Navigate into your new site’s directory and use the following command to start the development server locally.
cd my-folder/ yarn dev
-
Open the code and start customizing!
Your site is now running at http://localhost:8000! And your GraphiQL data layer is running at http://localhost:8000/__graphql
Edit to see your site update in real-time!
-
Learn more about Gatbsy