Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Ionic 2 application template for Alfresco JS API

License

Notifications You must be signed in to change notification settings

DenysVuika/ionic-alfresco-app

Repository files navigation

Alfresco Ionic 2 App Base

This is the base template for Ionic 2 starter apps powered by Alfresco JS Api and ionic-alfresco project.

Application template includes:

  • Ready to develop, test and deploy project configured with CommonJs module loader
  • Login page
  • Folder View page (document list with navigation support)
  • File View page (simple file viewer)

You will be able instantly testing this application on iOS or Android device with Ionic View.

Using this project

You'll need the Ionic CLI with support for v2 apps:

npm install -g ionic@beta

More info on this can be found on the Ionic 2 Getting Started page.

Then run:

git clone https://github.com/DenisVuyka/ionic-alfresco-app.git my-alfresco-app
cd my-alfresco-app
npm install

Update app/app.ts with a correct ECM host settings. Uncomment and edit the line shown below:

constructor(
  ...
) {
  // settingsService.setEcmHost('<YOUR ALFRESCO SERVER ADDRESS>');
  ...
}

Now you can use all ionic cli commands like with any regular Ionic 2 application templates.

Run project with:

ionic serve

Alternatively you can upload and test your newly created application with iOS or Android device (requires Ionic View account):

ionic upload