From eadedab37f9de03ea2adc88fa69ff93fcb71222d Mon Sep 17 00:00:00 2001 From: Martin Kraft Date: Wed, 25 Apr 2018 15:54:20 -0400 Subject: [PATCH] Adds docs about using a custom data directory. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 48147e16..afecb542 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,12 @@ Configuration will be saved into Electron's userData directory: * `~/Library/Application Support/Mattermost` on OS X * `~/.config/Mattermost` on Linux +A custom data directory location can be specified with: + +* `Mattermost.exe -- --data-dir C:\my-mattermost-data` on Windows +* `open /Applications/Mattermost.app/ --args --data-dir ~/my-mattermost-data/` on macOS +* `./mattermost-desktop --args --data-dir ~/my-mattermost-data/` on Linux + *When you upgrade from electron-mattermost, please copy `config.json` from `electron-mattermost`. Otherwise, you have to configure again.*