Mario Romano d9ad2f1bad Merge pull request #490 from Alfresco/dev-wabson-480
Improve scripts and script docs (reverted from commit 0bd56034181a34a128acbd7e3a58f83ece434d96)
2016-08-02 12:49:21 +01:00

44 lines
1.1 KiB
Markdown

## Running a demo project
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:
```ssh
cd alfresco-ng2-components
cd scripts
```
* Start the demo and Install all the dependencies (*Note. do it this way only the first time, and be aware, it will take some time*)
```sh
./start.sh -install
```
* Start the demo (*the standard way of starting the demo after first initialization*):
```sh
./start.sh
```
* Start the demo, install all the dependencies, and remove the previous version of the npm packages (*Note. do this only after big changes*):
```sh
./start.sh -cleanInstall
```
* Start the demo and update the dependencies:
```sh
./start.sh -update
```
* 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:
```sh
./start-linked.sh
```
For development environment configuration please refer to [project docs](demo-shell-ng2/README.md).