Ensure that parameters still passed to start.sh from start-linked.sh

- Fixes -install parameter and others

Refs #480
This commit is contained in:
Will Abson
2016-07-28 13:12:37 +01:00
parent 74933e8069
commit 1a7d018687
2 changed files with 14 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
The Alfresco application development framework comes with a demo project that you can run to get a
feel for what's available.
* Start by navigating into the app development framework source folder, and then the script folder:
Start by navigating into the app development framework source folder, and then the script folder:
```ssh
cd alfresco-ng2-components
@@ -46,11 +46,21 @@ Start using linked components
This is recommended if you are using the `development` branch or a feature branch off `development`
* If you want to use your local components use the following script with any of the previous option. It will npm link all the components
in the demo shell:
If you want to use your local components use the following script with any of the previous options. It will npm link all the components
in the demo shell before starting up the demo-shell.
For a new environment, use `-install`
```sh
./start-linked.sh -install
```
When you are restarting, you can skip `-install`
```sh
./start-linked.sh
```
The parameters `-update` and `-cleanInstall` work as described above for `start.sh`
For development environment configuration please refer to [project docs](demo-shell-ng2/README.md).

View File

@@ -4,4 +4,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
"$DIR/npm-link-demo-shell.sh"
"$DIR/npm-build-all.sh"
"$DIR/start.sh"
"$DIR/start.sh" $@