mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +03:00
Updated README to avoid confusions (#83)
This commit is contained in:
parent
65e720b90f
commit
c7e1c14ce7
|
@ -122,14 +122,17 @@ Redoc.init('http://petstore.swagger.io/v2/swagger.json', {
|
||||||
```
|
```
|
||||||
|
|
||||||
-----------
|
-----------
|
||||||
## Running locally
|
## Development
|
||||||
|
#### Running local dev-server
|
||||||
1. Clone repository
|
1. Clone repository
|
||||||
`git clone https://github.com/Rebilly/ReDoc.git`
|
`git clone https://github.com/Rebilly/ReDoc.git`
|
||||||
2. Go to the project folder
|
2. Go to the project folder
|
||||||
`cd ReDoc`
|
`cd ReDoc`
|
||||||
3. Install node modules and front-end dependencies
|
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
|
4. _(optional)_ Replace `demo/swagger.json` with your own schema
|
||||||
5. Start the server
|
5. Start the server
|
||||||
`npm start`
|
`npm start`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user