Skip to content

Start Services with Default Configuration

OliverShen edited this page Mar 21, 2023 · 4 revisions

1. Clone repo code

2. In root folder or your IDE, run the following commands to build center and agent modules and generate jar packages:

.\gradlew :center:bootJar
.\gradlew :agent:bootJar

2. Start center.jar

Run the following command under the parent folder of center.jar:

java -jar center.jar
  • If you want to enable other storage types, specify the value of app.storage.type with other corresponding variables for the selected storage service:
    • app.storage.type: AZURE
      • app.storage.azure.connection: ${Your Azure BLOB connection string}
    • Other storage types TO BE supported.

3. Get the Agent Configuration file

  • Go to the Center portal, select Authentication, and click Add Agent to create your Agent.
    image
  • Download the configuration YAML file. image
  • Copy the file into the same folder of your agent.jar package.

4. Start agent.jar

Run the following command under the parent folder of agent.jar:

java -jar agent.jar
Clone this wiki locally