2016-06-24 09:59:46 +01:00
2016-04-19 16:27:21 +01:00
2016-04-19 14:42:45 +01:00
2016-06-14 16:21:51 +01:00
2016-06-15 10:38:14 +01:00
2016-06-15 10:38:14 +01:00
2016-04-27 10:05:21 +01:00

ALFRESCO WEB COMPONENTS

travis Status license my blog

alfresco angular2

Prerequisites

  • Alfresco repository with CORS enabled. A Docker-compose file is provided by the demo-shell app.

Private Npm repository configuration

All the distribution packages of our components are stored in our private repository visible only from the internal Alfresco lan:

http://devproducts.alfresco.me:4873

How to configure it:
npm set registry http://devproducts.alfresco.me:4873
npm adduser --registry http://devproducts.alfresco.me:4873
How to publish on it:
  • Add the repository to your package.json. ATTENTION: If you don't add the following lines, the package is published on the public Npm repository.
  "publishConfig": {
    "registry": "http://devproducts.alfresco.me:4873/"
  }
  • Then run the command below each time you want to publish a new version:
npm version patch
npm publish

Running demo project

Steps below show the quickest way to get demo shell up and running.

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)
./start.sh -install
  • Start the demo and Install all the dependencies and remove the previous version of the npm package(do it after big changes)
./start.sh -cleanInstall
  • Start the demo and update the dependencies
./start.sh -update
  • Start the demo
./start.sh

For development environment configuration please refer to project docs.

Components

You can browse all the components at the following address:

http://devproducts.alfresco.me/

Yeoman generators

To speed up the development of your Alfresco Angular 2 application or Alfresco Angular 2 component use one of our Yeoman generators. These generators will create for you a full working project with all the right libraries and tools.

yeoman logo

How to build a new Alfresco Angular 2 component

To generate your Alfresco Angular 2 component you can use our Yeoman generator

How to build a new Alfresco Angular 2 application

To generate your Alfresco Angular 2 application you can use our Yeoman generator

Description
Languages
TypeScript 90.5%
HTML 4.4%
SCSS 2.4%
JavaScript 1.6%
C 0.8%
Other 0.2%