fix start script and add update command

This commit is contained in:
Eugenio Romano 2016-05-19 14:20:12 +01:00
parent 0f9dc6951a
commit 40946d5fc0
2 changed files with 12 additions and 2 deletions

View File

@ -49,12 +49,18 @@ git clone https://github.com/Alfresco/dev-platform-webcomponents.git
cd dev-platform-webcomponents
```
* Start the demo and Install all the dependencies (do it the first time or after a project update)
* Start the demo and Install all the dependencies (do it the first time)
```sh
./start.sh -install
```
* Start the demo and update the dependencies
```sh
./start.sh -update
```
* Start the demo
```sh

View File

@ -3,7 +3,11 @@ cd demo-shell-ng2
#!/bin/sh
if [[ $1 = "-install" ]]; then
npm install
npm run start
elif [[ $1 = "-update " ]]; then
npm run update
npm run start
else
npm run start.dev
npm run start
fi