Updated README to avoid confusions (#83)

This commit is contained in:
Roman Hotsiy 2016-08-23 01:04:10 +03:00
parent 65e720b90f
commit c7e1c14ce7
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -122,14 +122,17 @@ Redoc.init('http://petstore.swagger.io/v2/swagger.json', {
```
-----------
## Running locally
## Development
#### Running local dev-server
1. Clone repository
`git clone https://github.com/Rebilly/ReDoc.git`
2. Go to the project folder
`cd ReDoc`
3. Install node modules and front-end dependencies
`npm install`
`npm run jspm-install`
```
npm install
npm run jspm-install
```
4. _(optional)_ Replace `demo/swagger.json` with your own schema
5. Start the server
`npm start`