Update CONTRIBUTING.md

This commit is contained in:
Nicolas Stepien 2013-03-09 22:18:25 +01:00
parent fe0cb5cd18
commit 3880495aa5

View File

@ -1,35 +1,32 @@
## Reporting bugs ## Reporting bugs
1. Make sure your **browser** & **4chan X** are up to date. 1. Make sure both your **browser** and **4chan X** are up to date.
2. Disable your other extensions & scripts. 2. Disable your other extensions & scripts to identify conflicts.
3. If your issue persists: 3. If your issue persists:
1. Report precise steps to reproduce the problem. 1. Report precise steps to reproduce the problem.
2. Report console errors, if any. 2. Report console errors, if any.
3. Report browser and browser version. 3. Report browser version.
4. Include your exported settings.
Open your console with: Open your console with:
- `Ctrl + Shift + J` on Chrome & Firefox - `Ctrl + Shift + J` on Chrome.
- `Ctrl + Shift + K` on Firefox.
- `Ctrl + Shift + O` on Opera. - `Ctrl + Shift + O` on Opera.
## Development & Contribution ## Development & Contribution
### Get started ### Get started
- Clone 4chan X.
- `cd` into it.
- Install [node.js](http://nodejs.org/). - Install [node.js](http://nodejs.org/).
- Install [Grunt's CLI](http://gruntjs.com/) with `npm install -g grunt-cli`. - Install [Grunt's CLI](http://gruntjs.com/) with `npm install -g grunt-cli`.
- Clone 4chan X.
- `cd` into it.
- Install 4chan X dependencies with `npm install`. - Install 4chan X dependencies with `npm install`.
### Build ### Build
- Build with `grunt`. - Build with `grunt`.
- For development (continuous builds), run `grunt watch`. - Continuously build with `grunt watch`.
### Test
- You must have [PhantomJS](http://phantomjs.org/) installed. (need [help](https://github.com/gruntjs/grunt/blob/master/docs/faq.md#why-does-grunt-complain-that-phantomjs-isnt-installed)?)
- Run test units with `grunt test`.
### Release ### Release
@ -37,12 +34,12 @@ Open your console with:
- To upgrade, run `grunt upgrade` (`0.x.0` version bump). - To upgrade, run `grunt upgrade` (`0.x.0` version bump).
- Release with `grunt release`. - Release with `grunt release`.
Note: this is only used to release new 4chan X versions, and is not needed or wanted in pull requests. Note: this is only used to release new 4chan X versions, and is **not** needed or wanted in pull requests.
### Contribute ### Contribute
- Edit the CoffeeScript source. - Edit the CoffeeScript sources.
- Build the JavaScript. - Build the JavaScript.
- If the edits affect regular users, edit the changelog. - If the edits affect regular users, edit the changelog.
- Fork the repo. - Fork the repository.
- Send a pull request. - Open a pull request.