Server License

1. Userkey

To start Obeo Enterprise for Sirius, you must first execute the userkey generator. Use the jar provided and execute it with the following command in a terminal:

java -jar ocp-license-userkey-generator-VERSION-executable.jar

Do not forget to replace VERSION with the version of the userkey generator. This will generate a userkey for your machine in the console.

Provide this userkey to Obeo to request the creation of a server license matching the given userkey. The server license will allow the application to be executed on the same machine as the one where the userkey has been generated.

2. Server License

Once you have received the server license, you will need to provide it thanks to the configuration property ocp.license. For that, you can setup the configuration property using either an environment variable, a system property or even a command line argument.

2.1. Environment variable

You can setup all the configuration properties using environment variables. For the server license, you should thus use the OCP_LICENSE environment variable.

You could thus start running Obeo Enterprise for Sirius using the following commands:

export OCP_LICENSE=....
export SPRING_DATASOURCE_URL=...
export SPRING_DATASOURCE_USERNAME=...
export SPRING_DATASOURCE_PASSWORD=...

java -jar ./obeo-cloud-platform-VERSION.jar

2.2. System Property

It is also possible to provide the various configuration properties using system properties with -D. You could for example start running Obeo Enterprise for Sirius with the following command:

java -jar ./obeo-cloud-platform-VERSION.jar -Docp.license=... -Dspring.datasource.url=... -Dspring.datasource.username=... -Dspring.datasource.password=...

2.3. Command line argument

You can also provide the server license and other configuration properties using command line arguments with --. You could for example start running Obeo Enterprise for Sirius with the following command:

java -jar ./obeo-cloud-platform-VERSION.jar --ocp.license=... --spring.datasource.url=... --spring.datasource.username=... --spring.datasource.password=...