Denys Vuika 800a2a6530 Demo shell improvements (#1199)
* #1197 auth guards

* #1197 restore lost router dependency to all libs

* #1197 ecm/bpm auth guards, home page

- ECM auth guard (redirect to Login if ECM auth is missing)
- BPM auth guard (redirect to Login if BPM auth is missing)
- new Home page and route, show details on demo areas

* css improvements

make app text white as per request
2016-12-03 18:57:43 +00:00
..
2016-08-02 10:49:34 +01:00
2016-12-03 18:57:43 +00:00
2016-06-07 15:56:22 +01:00
2016-11-01 14:28:52 +00:00
2016-08-02 10:49:34 +01:00
2016-06-03 17:46:29 +01:00
2016-04-22 22:48:14 +01:00
2016-11-28 21:36:00 +00:00
2016-11-01 11:41:52 +00:00
2016-06-30 11:46:37 +02:00

Alfresco Angular 2 Components

alfresco angular2

style

Node

To correctly use this demo check that on your machine is running Node version 5.0.0 or higher.

Local build

1 Install dependencies

npm install

2 Fast build and watch for dev purposes

npm start

start script also includes live reload and watchers for all the .ts files. TypeScript watchers are also configured for node_modules folder within demo shell and provide live reload for all the component libraries as well.

Development branch build

If you want to run the demo shell with the latest change from the development branch, use the following command from the /script folder:

./npm-clean.sh
./start-linked.sh -install

###Multi-language To support a new language you need to create your language file (.json) and add it to i18n/ folder.

{
        "username" : "Username",
        "input-required-message": "Required",
        "input-min-message": "Your username needs to be at least 4 characters.",
        "login-button": "Login"
}

Directory structure:

.
├── i18n/
│   ├── en.json
│   ├── it.json
│   └── fr.json