Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit f81e9ed

Browse files
author
M-ZubairAhmed
committed
completed contributing
1 parent 6aabd70 commit f81e9ed

File tree

1 file changed

+80
-34
lines changed

1 file changed

+80
-34
lines changed

CONTRIBUTING.md

Lines changed: 80 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Both of them are under very active development. This document provides non exhau
1212
Coderplex has adopted [Contributor Covenant](https://github.com/coderplex/coderplex/blob/docs-update/CODE_OF_CONDUCT.md) that we expect project participants to adhere to.
1313

1414
## Open Development
15-
All work related to the application takes place on Github itself. We use [Issues](https://github.com/coderplex/coderplex/issues) to track bugs, discuss ideas and to engage open source contributors. [Projects](https://github.com/coderplex/coderplex/projects) are used to keep track of everything and is our project management tool. We maintain [Wiki](https://github.com/coderplex/coderplex/wiki) for structuring our long term thoughts. Both maintainers and contributors sends a pull request which goes through the same review process. Whole process is as transparent as it can be and we strive to keep it that way.
15+
All work related to the application takes place on Github itself. We use [Issues](https://github.com/coderplex/coderplex/issues) to track bugs, discuss ideas and to engage open source contributors. [Projects](https://github.com/coderplex/coderplex/projects) are used to keep track of everything and is our project management tool. We maintain [Wiki](https://github.com/coderplex/coderplex/wiki) for structuring our long term thoughts. Both core team members and contributors sends a pull request which goes through the same review process. Whole process is as transparent as it can be and we strive to keep it that way.
1616

1717
## Development Workflow
1818

@@ -26,57 +26,100 @@ We welcome pull requests from beginners and seasoned javaScript developers alike
2626

2727
### Proposing a Change
2828
1. Open a new issue if you would like report a bug or suggest improvements.
29-
2. Please wait for maintainers to comment on the thread. This lets us reach an agreement on your proposal before you put significant effort into it.
29+
2. Please wait for core team members to comment on the thread. This lets us reach an agreement on your proposal before you put significant effort into it.
3030

3131
### Prerequisites
32-
##### 1. [NodeJS](https://nodejs.org/)
32+
1. [NodeJS](https://nodejs.org/)
33+
<br/>
3334
Minimum version v8.0.0+
34-
```bash
35-
To check node version
36-
$ node -v
37-
```
38-
Any lower version than mentioned above may results in this [error](https://github.com/coderplex/coderplex/issues/100).
35+
```bash
36+
To check node version
37+
$ node -v
38+
```
39+
Any lower version than mentioned above may results in this [error](https://github.com/coderplex/coderplex/issues/100).
3940

40-
> If you face problem updating your node then you might need a Node version manager tool. [Follow here]()
41+
> If you face problem updating your node then you might need a Node version manager tool. [Follow here]()
4142

42-
##### 2.[Yarn](https://yarnpkg.com)
43-
Minimum version v1.2.0+
44-
<br/>
45-
Installing instructions are at [official docs](https://yarnpkg.com/en/docs/install#windows-tab)
43+
2. [Yarn](https://yarnpkg.com)
44+
<br/>
45+
Minimum version v1.2.0+
46+
<br/>
47+
Installing instructions are at [official docs](https://yarnpkg.com/en/docs/install#windows-tab).
48+
Use yarn over npm
49+
> Our team's official policy (for now) is: We only use [Yarn](https://yarnpkg.com/en/docs/install) as our official Node package manager, and so we request you to use Yarn instead of npm and commit `yarn.lock` file.
4650
47-
Use yarn over npm
48-
> Our team's official policy (for now) is: We only use [Yarn](https://yarnpkg.com/en/docs/install) as our official Node package manager, and so we request you to use Yarn instead of npm and commit `yarn.lock` file.
49-
50-
##### 3. [GIT](https://git-scm.com/download/linux)
51-
Familiarity with git is mandatory.
51+
3. [Git](https://git-scm.com/download/linux)
52+
<br/>
53+
Familiarity with git is mandatory.
5254

5355

5456
Remember to feel free to ask for help in our [Discord](https://discordapp.com/invite/dVnQ2Gf) rooms.
5557

56-
Working on your first Pull Request? You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github)
5758

58-
### Running locally
59+
### Running
5960

60-
1. Make sure you have [NodeJS](https://nodejs.org/) and [Yarn](https://yarnpkg.com/en/docs/install) installed.
61-
> Make sure you install node version 8 or above and check node version by running `node -v`
62-
1. Then clone this repo
61+
1. Clone repository
62+
```bash
63+
$ git clone https://github.com/coderplex/coderplex.git
64+
```
65+
2. Move to the repository root folder
66+
```bash
67+
$ cd coderplex
68+
```
69+
3. Install dependencies
6370
```bash
64-
git clone https://github.com/coderplex/coderplex.git
71+
$ yarn
6572
```
66-
1. `cd coderplex`
67-
1. `npm install`
68-
1. `npm run dev` to start local development server
69-
1. App opens at `localhost:3000`
73+
4. Start the development server
74+
```bash
75+
$ yarn dev
76+
```
77+
App now opens at `localhost:3000` in your default browser.
78+
> You may get this [error]() if any other app is already running the above port.
7079

80+
### Sending a Pull Request
7181

72-
## How to get in touch
73-
- [Coderplex Discord Channel](https://discord.gg/dVnQ2Gf)
74-
- Tweet maintainers
82+
*Working on your first Pull Request? You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github)*
83+
84+
#### Before submitting:
85+
1. Fork the [repository](https://github.com/coderplex/coderplex).
86+
2. From your fork, create a [branch](https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/) and name it. eg. `typo-in-readme`
87+
3. If you’ve fixed a bug or added code that should be tested, add tests!
88+
4. Ensure that all test pass
89+
```bash
90+
$ yarn test
91+
```
92+
5. Run code formatters
93+
```bash
94+
$ yarn lint
95+
```
96+
6. Add and commit your code. Please give meaning full commit messages.
97+
7. Pull latest code from [upstream repository's ](https://help.github.com/articles/merging-an-upstream-repository-into-your-fork/)`master`, if in case anything new were merged while you were working on your fork.
98+
8. Push the code to your fork.
99+
9. Raise the pull request from your created branch to `master` branch of coderplex.
100+
10. Take some time to give a brief description of the work you have done.
101+
102+
#### After submitting
103+
1. Wait for all checks to pass in below section.
104+
2. Your changes are deployed with a unique link `https://deploy-preview-xx--coderplex.netlify.com`. <br/>
105+
*`- xx` is your pull request number.*
106+
3. The core team will review your pull request and either merge it, request changes to it, or close it with an explanation.
107+
108+
##### Received a review request
109+
- Work on the requested changes
110+
- Push the changes as you did earlier, the pull request will automatically catch those and update itself.
111+
112+
### How to get in touch
113+
- Coderplex [Discord Channel](https://discord.gg/dVnQ2Gf)
114+
- Tweet core team members :
115+
- Vinay Puppal [@VinayPuppal](https://twitter.com/vinaypuppal)
116+
- Md-ZubairAhmed [@Md_ZubairAhmed](https://twitter.com/Md_ZubairAhmed)
117+
- P Bhanu Teja [@pbteja1998](https://twitter.com/pbteja1998)
75118
76119
## Appendix
77-
#### 1. Node Version Manager
120+
##### 1. Node Version Manager
78121
79-
##### [nvm](https://github.com/creationix/nvm) for Linux & OSX
122+
###### [nvm](https://github.com/creationix/nvm) for Linux & OSX
80123
```bash
81124
Installation
82125
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
@@ -91,7 +134,7 @@ Run the app in the same terminal session
91134
```
92135
*Make sure you have [curl](https://curl.haxx.se/) installed*
93136
94-
##### [nvm-windows](https://github.com/coreybutler/nvm-windows) for Windows
137+
###### [nvm-windows](https://github.com/coreybutler/nvm-windows) for Windows
95138
It comes with an [installer](https://github.com/coreybutler/nvm-windows#installation--upgrades).
96139
97140
```bash
@@ -102,3 +145,6 @@ Use installed version
102145
$ nvm use 8.9.1
103146
```
104147
Still facing problem this [article](https://medium.com/appseed-io/how-to-run-multiple-versions-of-node-js-with-nvm-for-windows-ffbe5c7a2b47) from [@skounis ](https://twitter.com/skounis) explain in details.
148+
149+
##### 2. Local host occupied
150+
If you get this error while running `yarn dev` then probably another app is occupying `localhost:3000`. You may want to close that and run the command again.

0 commit comments

Comments
 (0)