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:
Go to the
application.conf
file that is located in the SMARTUNIFIER packageSmartUnifierManager-windows-x64\conf
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 |
|
accessToken |
|
Local¶
Configuration of the local version control:
Go to the
application.conf
file that is located in the SMARTUNIFIER packageSmartUnifierManager-windows-x64\conf
Add the sourceControl JSON object inside the unifiermanager JSON object:
sourceControl {
localgit {
repoFolder = "**path to local direcotry**"
}
}