diff --git a/README.md b/README.md index 8b3728c71e..92d75b6eb0 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ For development configuration please refer to* **Configuring development environ ##### Using setup script (recommended) ```sh +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.sh @@ -26,7 +27,9 @@ cd dev-platform-webcomponents ##### Manual setup ```sh +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/demo-shell-ng2 npm install @@ -34,6 +37,7 @@ npm install ../ng2-components/ng2-alfresco-core npm install ../ng2-components/ng2-alfresco-login npm install ../ng2-components/ng2-alfresco-documentlist npm install ../ng2-components/ng2-alfresco-upload +npm install ../../dev-platform-js-api npm run build.dev ``` diff --git a/demo-shell-ng2/README.md b/demo-shell-ng2/README.md index 1ce348639a..d6f736777b 100644 --- a/demo-shell-ng2/README.md +++ b/demo-shell-ng2/README.md @@ -13,7 +13,19 @@ ## Prerequisites -- [Alfresco Docker image with CORS support](https://github.com/wabson/alfresco-docker-cors) +Docker machine with latest `platform-distribution:api-latest` image. + +``` +docker login dockerreg.alfresco.com +docker pull dockerreg.alfresco.com/platform-distribution:api-latest +docker-compose up +``` + +to clean up afterwards + +``` +docker-compose rm +``` ### Configuring development environment @@ -48,6 +60,12 @@ cd ../../demo-shell-ng npm link ng2-alfresco-login ``` +*dev-platform-js-api client:* + +```sh +npm link ../../dev-platform-js-api +``` + Please refer to [this article](https://docs.npmjs.com/cli/link) for more details on npm link. ### Building and running diff --git a/demo-shell-ng2/app/components/files/files.component.html b/demo-shell-ng2/app/components/files/files.component.html index ae195bdee4..25b349cd8b 100644 --- a/demo-shell-ng2/app/components/files/files.component.html +++ b/demo-shell-ng2/app/components/files/files.component.html @@ -4,7 +4,7 @@ + source="createdByUser.displayName"> + source="createdAt"> diff --git a/demo-shell-ng2/index.html b/demo-shell-ng2/index.html index c57848cb9b..3bb44e5850 100644 --- a/demo-shell-ng2/index.html +++ b/demo-shell-ng2/index.html @@ -29,6 +29,7 @@ +