mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 00:56:33 +03:00
Update local dev steps (fixes #114)
This commit is contained in:
parent
6a5e03cab9
commit
6cc525e594
19
README.md
19
README.md
|
@ -126,16 +126,17 @@ Redoc.init('http://petstore.swagger.io/v2/swagger.json', {
|
|||
-----------
|
||||
## Development
|
||||
#### Running local dev-server
|
||||
1. Clone repository
|
||||
- Clone repository
|
||||
`git clone https://github.com/Rebilly/ReDoc.git`
|
||||
2. Go to the project folder
|
||||
- Go to the project folder
|
||||
`cd ReDoc`
|
||||
3. Install node modules and front-end dependencies
|
||||
- Install dependencies
|
||||
`npm install`
|
||||
- *(Temporary step, will be obsolete after fixing #97)* Compile CSS
|
||||
```bash
|
||||
npm run build:sass
|
||||
```
|
||||
npm install
|
||||
npm run jspm-install
|
||||
```
|
||||
4. _(optional)_ Replace `demo/swagger.json` with your own schema
|
||||
5. Start the server
|
||||
- _(optional)_ Replace `demo/swagger.json` with your own schema
|
||||
- Start the server
|
||||
`npm start`
|
||||
6. Open `http://localhost:9000`
|
||||
- Open `http://localhost:9000`
|
||||
|
|
Loading…
Reference in New Issue
Block a user