Skip to content

Commit

Permalink
Explicitly specify port in 'npm start' script
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Jan 8, 2019
1 parent 8c30225 commit b8bd774
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,20 +108,20 @@ To use the Material theme, import the correspondent file from the `theme/materia
`vaadin-combo-box-light.html`


## Running demos and tests in browser
## Running demos and tests in a browser

1. Fork the `vaadin-combo-box` repository and clone it locally.

1. Make sure you have [npm](https://www.npmjs.com/) installed.
1. Make sure you have [npm](https://www.npmjs.com/) and [Bower](https://bower.io) installed.

1. When in the `vaadin-combo-box` directory, run `npm install` and then `bower install` to install dependencies.

1. Run `npm start`, browser will automatically open the component API documentation.

1. You can also open demo or in-browser tests by adding **demo** or **test** to the URL, for example:

- http://127.0.0.1:8080/components/vaadin-combo-box/demo
- http://127.0.0.1:8080/components/vaadin-combo-box/test
- http://127.0.0.1:3000/components/vaadin-combo-box/demo
- http://127.0.0.1:3000/components/vaadin-combo-box/test


## Running tests from the command line
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"scripts": {
"test": "wct",
"prestart": "polymer analyze vaadin-* > analysis.json",
"start": "polymer serve --open",
"start": "polymer serve --port 3000 --open",
"preversion": "gulp version:update"
}
}

0 comments on commit b8bd774

Please sign in to comment.