Added Enable upload to plugins (#162)

This commit is contained in:
Colton Shaw 2022-01-27 05:34:34 -05:00 committed by GitHub
parent 0f9b8ba790
commit 18b436aa4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,14 @@ dist/com.example.my-plugin.tar.gz
## Development ## Development
To avoid having to manually install your plugin, build and deploy your plugin using one of the following options. To avoid having to manually install your plugin, build and deploy your plugin using one of the following options. In order for the below options to work, you must first enable plugin uploads via your config.json or API and restart Mattermost.
```json
"PluginSettings" : {
...
"EnableUploads" : true
}
```
### Deploying with Local Mode ### Deploying with Local Mode
@ -62,7 +69,7 @@ If your Mattermost server is running locally, you can enable [local mode](https:
... ...
"EnableLocalMode": true, "EnableLocalMode": true,
"LocalModeSocketLocation": "/var/tmp/mattermost_local.socket" "LocalModeSocketLocation": "/var/tmp/mattermost_local.socket"
} },
} }
``` ```