mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
new start sh with install option
This commit is contained in:
11
README.md
11
README.md
@@ -19,6 +19,17 @@
|
|||||||
git clone https://github.com/Alfresco/dev-platform-js-api.git
|
git clone https://github.com/Alfresco/dev-platform-js-api.git
|
||||||
git clone https://github.com/Alfresco/dev-platform-webcomponents.git
|
git clone https://github.com/Alfresco/dev-platform-webcomponents.git
|
||||||
cd dev-platform-webcomponents
|
cd dev-platform-webcomponents
|
||||||
|
```
|
||||||
|
|
||||||
|
* Start the demo and Install all the dependencies (do it the first time or after an a project update)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./start.sh -install
|
||||||
|
```
|
||||||
|
|
||||||
|
* Start the demo
|
||||||
|
|
||||||
|
```sh
|
||||||
./start.sh
|
./start.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
16
start.sh
16
start.sh
@@ -1,13 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
cd demo-shell-ng2
|
cd demo-shell-ng2
|
||||||
|
|
||||||
npm install
|
#!/bin/sh
|
||||||
npm install ../ng2-components/ng2-alfresco-core
|
if [[ $1 = "-install" ]]; then
|
||||||
npm install ../ng2-components/ng2-alfresco-datatable
|
npm run start
|
||||||
npm install ../ng2-components/ng2-alfresco-documentlist
|
else
|
||||||
npm install ../ng2-components/ng2-alfresco-login
|
npm run start.dev
|
||||||
npm install ../ng2-components/ng2-alfresco-upload
|
fi
|
||||||
npm install ../../dev-platform-js-api
|
|
||||||
|
|
||||||
#npm run build.dev
|
|
||||||
npm start
|
|
Reference in New Issue
Block a user