Added Enable upload to plugins (#162)
This commit is contained in:
parent
0f9b8ba790
commit
18b436aa4c
1 changed files with 9 additions and 2 deletions
11
README.md
11
README.md
|
@ -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"
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Reference in a new issue