You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yarn dev to start the hot-reloading development server powered by Gatsby
open http://localhost:8000 to open the site in your favourite browser
Contributing
Create a branch
git checkout master from any folder in your local react repository
git pull origin master to ensure you have the latest main code
git checkout -b wwwTheNameOfMyChange (replacing TheNameOfMyChange with a suitable name) to create a branch
Make the change
Follow the "Running locally" instructions
Save the files and check in the browser
Any React components in src/components or src/templates will hot-reload
If working with plugins, you may need to remove the .cache directory and restart the server
Test the change
If possible, test any visual changes in all latest versions of common browsers, on both desktop and mobile.
Run yarn prettier-all && yarn lint from the project root (outside of www)
Push it
git add -A && git commit -m "My message" (replacing My message with a commit message, such as Fixed header logo on Android) to stage and commit your changes
git push yourname wwwTheNameOfMyChange
Go to the React repo and you should see recently pushed branches.
... follow GitHub's instructions...
If possible, include any screenshots of visual changes. A Netlify build will also be automatically created once you make your PR, so other people can see your change.