Update README.md

Rearranging readme
This commit is contained in:
jdalrymple 2018-01-19 13:00:45 -05:00 committed by GitHub
parent 0231702164
commit fafdfacfb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ It wraps the HTTP v4 API library described [here](https://github.com/gitlabhq/gi
* [Groups](https://github.com/jdalrymple/node-gitlab-api/blob/master/docs/groups.md)
* [Contributors](#contributors)
* [Tests](#tests)
* [Development](#development)
* [License](#licence)
* [Changelog](#changelog)
@ -122,6 +123,36 @@ Although there are the official docs for the API, below are some additional docs
Nothing yet, but its on the TODO list :P
## Development
To get this running locally rather than from your `node_modules` folder:
```bash
$ git clone https://github.com/jdalrymple/node-gitlab-api.git
$ cd node-gitlab-api
$ npm install
$ npm build
```
And then inside whatever project you are using `node-gitlab-api` in you change your references to use that repo. In your package.json of that upstream project change:
```json
"dependencies": {
...
"node-gitlab-api": "2.1.0"
...
}
```
to this
```json
"dependencies": {
...
"node-gitlab-api": "<path-to-your-clone>"
...
}
```
## Contributors
This started off as a fork from [node-gitlab](https://github.com/node-gitlab/node-gitlab) but I ended up rewriting 90% of the code. Here are the original work's [contributors](https://github.com/node-gitlab/node-gitlab#contributors).
@ -328,34 +359,3 @@ inferred from the file path
------------------
- Initial release
- TODO: Tests, Examples
## Development
To get this running locally rather than from your `node_modules` folder:
```bash
$ git clone https://github.com/jdalrymple/node-gitlab-api.git
$ cd node-gitlab-api
$ npm install
$ npm build
```
And then inside whatever project you are using `node-gitlab-api` in you change your references to use that repo. In your package.json of that upstream project change:
```json
"dependencies": {
...
"node-gitlab-api": "2.1.0"
...
}
```
to this
```json
"dependencies": {
...
"node-gitlab-api": "<path-to-your-clone>"
...
}
```