2020-05-06 15:41:14 +02:00
|
|
|
---
|
|
|
|
|
title: Base Directory
|
|
|
|
|
---
|
2020-04-25 17:27:48 +02:00
|
|
|
|
|
|
|
|
The SCM-Manager base directory aka. home directory,
|
2020-04-27 07:25:44 +02:00
|
|
|
contains all data which is created by SCM-Manager such as repositories and configurations.
|
2020-04-25 17:27:48 +02:00
|
|
|
The location of the base directory depends on your operating system and type of installation.
|
|
|
|
|
|
|
|
|
|
| Type of Installation | Base directory |
|
|
|
|
|
|----------------------|----------------|
|
|
|
|
|
| Docker | /var/lib/scm |
|
|
|
|
|
| RPM | /var/lib/scm |
|
|
|
|
|
| DEB | /var/lib/scm |
|
|
|
|
|
| Unix | ~/.scm |
|
|
|
|
|
| Mac OS X | ~/Library/Application Support/SCM-Manager |
|
|
|
|
|
| Windows | %APPDATA%\SCM-Manager |
|
|
|
|
|
|
|
|
|
|
## Change base directory location
|
|
|
|
|
|
2024-08-20 17:31:44 +02:00
|
|
|
The location of the base directory can be changed by setting the environment variable **SCM_WEBAPP_HOMEDIR**.
|
2020-04-25 17:27:48 +02:00
|
|
|
|
|
|
|
|
```bash
|
2024-08-20 17:31:44 +02:00
|
|
|
export SCM_WEBAPP_HOMEDIR=/home/scm
|
2020-04-25 17:27:48 +02:00
|
|
|
/opt/scm-server/bin/scm-server
|
|
|
|
|
```
|