Skip to content

Instantly share code, notes, and snippets.

@salatfreak
salatfreak / test-plugin.sh
Created August 13, 2020 17:33
Mattermost Nextcloud plugin testing script
#!/bin/bash
# Configure shell
set -euo pipefail
# Configuration
readonly SITE_URL='http://localhost:8065'
readonly API_URI='/api/v4'
readonly PLUGIN_URI='/plugins/com.github.salatfreak.mattermost-plugin-nextcloud'
readonly TOKEN='<admin personal access token>'