mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
41 lines
1.2 KiB
Markdown
41 lines
1.2 KiB
Markdown
# ALFRESCO WEB COMPONENTS
|
|
|
|
<p align="center">
|
|
<img title="alfresco" alt='alfresco' src='assets/alfresco.png' width="280px" height="150px"></img>
|
|
<img title="angular2" alt='angular2' src='assets/angular2.png' width="150px" height="150px"></img>
|
|
</p>
|
|
|
|
## Prerequisites
|
|
|
|
- [Alfresco Docker image with CORS support](https://github.com/wabson/alfresco-docker-cors)
|
|
|
|
### Running demo project
|
|
|
|
**Note**: *Steps below show the quickest way to get demo shell up and running.
|
|
For development configuration please refer to* **Configuring development environment**
|
|
*section further in this document.*
|
|
|
|
##### Using setup script (recommended)
|
|
|
|
```sh
|
|
git clone https://github.com/Alfresco/dev-platform-webcomponents.git
|
|
cd dev-platform-webcomponents
|
|
./start.sh
|
|
```
|
|
|
|
##### Manual setup
|
|
|
|
```sh
|
|
git clone https://github.com/Alfresco/dev-platform-webcomponents.git
|
|
cd dev-platform-webcomponents/demo-shell-ng2
|
|
|
|
npm install
|
|
npm install ../ng2-components/ng2-alfresco-core
|
|
npm install ../ng2-components/ng2-alfresco-documentlist
|
|
npm install ../ng2-components/ng2-alfresco-login
|
|
|
|
npm run build.dev
|
|
```
|
|
|
|
For development environment configuration please refer to [project docs](demo-shell-ng2/README.md).
|