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-webcomponents.git
|
||||
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
|
||||
```
|
||||
|
||||
|
16
start.sh
16
start.sh
@@ -1,13 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
cd demo-shell-ng2
|
||||
|
||||
npm install
|
||||
npm install ../ng2-components/ng2-alfresco-core
|
||||
npm install ../ng2-components/ng2-alfresco-datatable
|
||||
npm install ../ng2-components/ng2-alfresco-documentlist
|
||||
npm install ../ng2-components/ng2-alfresco-login
|
||||
npm install ../ng2-components/ng2-alfresco-upload
|
||||
npm install ../../dev-platform-js-api
|
||||
|
||||
#npm run build.dev
|
||||
npm start
|
||||
#!/bin/sh
|
||||
if [[ $1 = "-install" ]]; then
|
||||
npm run start
|
||||
else
|
||||
npm run start.dev
|
||||
fi
|
Reference in New Issue
Block a user