The following sections walk through the implementation of common scenarios in building a Cloud App. The code for these tutorials is available in the Cloud Apps Tutorials repository on Github. To install the Tutorials repository, follow the instructions below. For each tutorial, we will add one or more components and use the Cloud Apps API to add the desired functionality.
Let’s get started!
Install the Tutorials App
There are several different ways to work with the tutorials app:
Install the Cloud App
To explore the tutorials without running the app on your local workstation, you can install the Tutorials Cloud App in your Alma environment. Search for “Cloud App Tutorials” in the Cloud App launcher in Alma. Install the app and begin exploring.
Run the app locally
You can clone the repository and run it in your local environment. To install the pre-build tutorials, do the following:
$ git clone https://github.com/ExLibrisGroup/cloudapp-tutorials.git $ cd cloudapp-tutorials $ eca init
If you wish to build the code together with the tutorials, start with the master branch which serves as a starting point to add the tutorials yourself:
$ git clone https://github.com/ExLibrisGroup/cloudapp-tutorials.git $ cd cloudapp-tutorials $ git checkout master $ eca init
Then follow the instructions to configure the app to work with your Alma environment.