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
# How to contribute to React Developers Kenya (Reactdevske) Website
2
2
3
3
Please note we have a [code of conduct](https://github.com/reactdeveloperske/reactdevske-website/blob/main/CODE_OF_CONDUCT.md), please follow it in all your interactions with the project.
4
4
5
5
## Contributing procedure
6
6
7
-
### Submit an issue
7
+
8
+
### Find an issue to work on
9
+
10
+
- You can contribute to this project by either creating an issue or by checking out the open issues available.
11
+
12
+
#### 1. Submit an issue
8
13
9
14
- Create a [new issue](https://github.com/reactdeveloperske/reactdevske-website/issues)
10
15
- Comment on the issue (if you'd like to be assigned to it) - that way the issue can be assigned to you.
11
16
12
-
### Open issues
17
+
#### 2. Open issues
13
18
14
19
- Go to [open issues](https://github.com/reactdeveloperske/reactdevske-website/issues)
15
20
- select an issue of your choice that is `open` or `need help` or is `up-for-grabs` and is not assigned.
@@ -19,7 +24,7 @@ Please note we have a [code of conduct](https://github.com/reactdeveloperske/rea
19
24
20
25
- If you're not sure, here's how to [fork the repo](https://help.github.com/en/articles/fork-a-repo)
21
26
22
-
### Set up your local environment (optional)
27
+
####Set up your local environment (optional)
23
28
24
29
If you're ready to contribute and create your PR, it will help to set up a local environment so you can see your changes.
25
30
@@ -34,38 +39,34 @@ If you're ready to contribute and create your PR, it will help to set up a local
34
39
35
40
If this is your first time forking our repo, this is all you need to do for this step:
36
41
37
-
```
38
-
$ git clone git@github.com:[your_github_handle]/reactdevske-website.git && cd reactdevske-website
Make sure you checkout the `develop` branch `git checkout develop`
46
+
Make sure you checkout the `develop` branch by running the command `git checkout develop`
42
47
43
-
If you've already forked the repo, you'll want to ensure your fork is configured and that it's up to date. This will save you the headache of potential merge conflicts.
48
+
If you've already forked the repo and created the develop branch, you'll want to ensure your fork and your develop branch is configured and that it's up to date. This will save you the headache of potential merge conflicts.
44
49
45
50
To [configure your fork](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork):
You may have noticed some error about providing a form key. This is because we use [Formspree](https://formspree.io/) to handle our contact form. To get around this, you can:
100
+
101
+
- Use your own [Formspree](https://formspree.io/) account and set the `FORMSPREE_KEY` environment variable to your key. (refer to the .env.example file for guidance on where to put your formspee key).
102
+
103
+
You may have also noticed a second error about missing required parameters: sitekey. This is because we use [reCAPTCHA](https://www.google.com/recaptcha/about/) to prevent spam. To get around this, you can:
104
+
105
+
- Use your own [reCAPTCHA](https://www.google.com/recaptcha/about/) account and set the `RECAPTCHA_SITE_KEY` environment variable to your keys. (refer to the .env.example file for guidance on where to put your recaptcha site key).
106
+
107
+
108
+
Both of these changes will require you to create a `.env` file in the root directory of the project. You can copy the contents of the `.env.example` file and paste them into the `.env` file. Then, you can add your keys to the appropriate variables.
109
+
110
+
***
99
111
<br>
100
112
113
+
3. Make changes to the codebase
114
+
101
115
- Open this directory in your favorite text editor / IDE, and see your changes live by visiting `localhost:3000` from your browser
102
116
- Pro Tip: Explore scripts within `package.json` for more build options
103
117
104
118
1. Add changes made to the repo addressing an issue
105
-
```
119
+
120
+
```bash
106
121
git add [file_name]
107
122
```
123
+
108
124
2. Commit and prepare for pull request (PR). In your PR commit message, reference the issue it resolves (see [how to link a commit message to an issue using a keyword](https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword).
109
125
110
-
```
111
-
$ git commit -m "brief description of changes [Fixes #1234]"
126
+
```bash
127
+
git commit -m "brief description of changes [Fixes #1234]"
112
128
```
113
129
114
130
1. Push to your GitHub account
115
131
116
-
```
117
-
$ git push -u origin [feature_branch]
132
+
```bash
133
+
git push -u origin [feature_branch]
118
134
```
119
135
120
136
### Submit your Pull Request (PR)🚀
121
137
122
138
- After your changes are commited to your GitHub fork, submit a pull request (PR) to the `develop` branch of the `reactdeveloperske/reactdevske-website` repo
123
139
- In your PR description, reference the issue it resolves (see [linking a pull request to an issue using a keyword](https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
124
140
- ex. `Updates out of date content [Fixes #1234]`
141
+
142
+
### Sit back, relax and wait for your PR to be reviewed/merged
143
+
144
+
- We'll review your PR as soon as possible
145
+
- We may suggest some changes or improvements or alternatives.
0 commit comments