This is a variation of CUBA Petclinic application working with the CUBA Maps add-on. Video Tutorial demonstrates creating and running this demo project.
./start-db.sh
./restart-server.sh
To see the nice view on maps in the application, you need to import the predefined data to it.
-
Find
import1.groovy
andimport2.groovy
scripts in the/data
folder. -
Put them into
conf/petclinic-core
folder on your application server. -
In the application go to
Administration -> JMX Console
. FindScriptingManager
JMX bean. -
Run
import1.groovy
script and thenimport2.groovy
script.
You can get trial subscription from CUBA Marketplace to run this application on your local environment. After getting trial subscription you'll receive an email with a link for downloading ZIP archive with artifacts.
To install the trial version of Maps add-on:
-
Get trial subscription from CUBA Marketplace. You'll get an email with a link and instructions.
-
Download ZIP archive with artifacts at link from the email.
-
Clone the repository of this demo project.
-
Open demo project in CUBA Studio.
-
Create a directory called
repository
in the root directory of the demo project. -
Unzip the file with artifacts into this directory. You should get the following directory structure:
- Open
build.gradle
file and register a new Maven repository.
maven {
url './repository'
}
- Find a string with add-on coordinates and replace the add-on version with the latest one. Check the latest version on CUBA Marketplace.
- Then add
.trial
to the end of add-on coordinates.
- Go to CUBA -> Build Tasks -> Deploy to check that the add-on was installed successfully.