External Version Control

Gitea

For the setup, make sure you meet the following prerequisites:

  • A local installation of Gitea .

  • An user account explicitly for SMARTUNIFIER - smartunifier.

  • An access token for this user account.

Once all prerequisites are met continue to authenticate SMARTUNIFIER to access Gitea:

  1. Go to the application.conf file that is located in the SMARTUNIFIER package SmartUnifierManager-windows-x64\conf

  2. Add the sourceControl JSON object inside the unifiermanager JSON object:

sourceControl {
  gitea = {
  baseUrl="**Enter Url here**"
  accessToken="**Enter access token here**"
  }
}

Examples for configuration properties:

Property

Example

baseUrl

http://localhost/api/v1

accessToken

8748ea571d0395434ee1a0a6f46163ba32d8c95e

Local

Configuration of the local version control:

  1. Go to the application.conf file that is located in the SMARTUNIFIER package SmartUnifierManager-windows-x64\conf

  2. Add the sourceControl JSON object inside the unifiermanager JSON object:

sourceControl {
  localgit {
  repoFolder = "**path to local direcotry**"
  }
}