Thank you for contributing to ReactVancouver open source projects!
💡 TIP: Get feedback from the core maintainers and / or community before jumping into code.
If you do know what you want to contribute…
→ Create an issue using a template:
- Feature: if you want to implement something new.
- Bug: if you want to fix something broken.
If you don’t know what you want to contribute…
→ Look at the open issues. If you are just starting out, look for good first issue tags. Comment on the issue to discuss the implementation plan or reach out to core maintainers on Slack.
You will need [email protected]
and [email protected]
installed globally on your machine
git clone https://github.com/React-Vancouver/website.git
cd website/
yarn
Add .env.production
and .env.development
file with your own keys.
$ mv .env.sample .env.production
$ mv .env.sample .env.development
Ask core maintainers for the keys 🔑.
Gatsby
yarn start
- You can now view
react-vancouver-website
in the browser. http://localhost:8000/ - View GraphiQL, an in-browser IDE, to explore your site’s data and schema. http://localhost:8000/___graphql
Storybook
yarn storybook
- Create a new branch for your work:
1.1 off
project
branch if you are contributing to a larger project, 1.2 offproduction
if you are contributing an individual feature or fix. - The naming convention for branches is
[feature|fix]/[issue-number]/[issue-name]
(egfeature/3/add-readme
)
git checkout -b feature/3/add-readme
yarn && yarn start
- Open a PR against a project or production branch depending on what you were working on.
- Get at least one review.
- You may merge the Pull Request in once you have the sign-off from a core maintainer (see
CODEOWNERS
).
If you were working on a project, the project branch will be merged into production
when it is complete and ready for release.