This sample will guide you how to run an Eclipse Dirigible instance with a pre-defined content. This content is bundled in a Zip file with a specific Repository structure. You can easily get one by exporting the Repository from an existing instance via the Snapshot view (in the Repository perspective).
A sample content file with a single project with a single service you can find at: repository-snapshot-20180820034353.zip.
- Copy the above zip file in a directory e.g. /home/dirigible/master_sample
- Download (or build and copy) to the same directory the standalone executable dirigible-desktop-all-XXX.jar
Set the environment variables:
java -jar dirigible-desktop-all-XXX.jar
Enter with the nickname: dirigible
- You should have already available project "my_project" in your workspace, with a service "hello.js"
The service is even published already, so you can directly execute it by accessing the location:
Note: This is the simplest way (from the life-cycle management PoV) to run an Eclipse Dirigible application.
For the master repository you can use a Zip file (as it is shown above), File System based Repository located by a Path to its root folder or a Jar file built into or accessible by the default class loader.