Update README.md

Added one simple command: npm run build:module.

On clean branch, if you don't execute this command you have not "compiled" and application raise exception.
This commit is contained in:
ilMattion 2018-01-10 09:57:45 +01:00 committed by GitHub
parent d083c1631d
commit 3868b5dd20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,6 +182,8 @@ Redoc.init('http://petstore.swagger.io/v2/swagger.json', {
- Install dependencies - Install dependencies
`npm install` `npm install`
- _(optional)_ Replace `demo/swagger.yaml` with your own schema - _(optional)_ Replace `demo/swagger.yaml` with your own schema
- Build
`npm run build:module`
- Start the server - Start the server
`npm start` `npm start`
- Open `http://localhost:9000` - Open `http://localhost:9000`