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.
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