pixelbrackets/mattermost-poll
Composer 安装命令:
composer create-project pixelbrackets/mattermost-poll
包简介
Poll Slash Command for Mattermost.
README 文档
README
Poll Slash Command for Mattermost.
/poll supper soup salad "taco and burito" burger
![]()
Requirements
- PHP
- MySQL
The Mattermost instance calling this service has to be version 4.2 or greater (provide »Interactive Message Buttons« feature).
Installation
- Clone project to desired directory
- Run
composer install - Edit
.envfile - Initialize database
./bin/console doctrine:database:create ./bin/console doctrine:migrations:migrate - Configure webserver to serve
webdirectory- Development / Test: Run
php bin/console server:start 127.0.0.1:8000 - Production: Configure webserver for Symfony Apps
and export
.envfile
- Development / Test: Run
- Open homepage to see the »Request URL« needed for »Slash Commands«
Integration into Mattermost
- Add new »Slash Command« in each Teamspace in Mattermost
- Use the »Request URL« shown on the homepage of the service
Source
https://gitlab.com/pixelbrackets/mattermost-poll/
Mirror https://github.com/pixelbrackets/mattermost-poll/
Demo
🚀 https://mattermost-poll.app.pixelbrackets.de/
Usage
- Type the slash command, followed by the poll title, followed by all answers
- Separete the title and each answer with spaces
- use quotes to include spaces in a string
Create a poll with a title and four answers
/poll supper soup salad "taco and burito" burger
License
GNU General Public License version 2 or later
The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html.
Author
Dan Untenzu (mail@pixelbrackets.de / @pixelbrackets)
Changelog
Contribution
This script is Open Source, so please use, patch, extend or fork it.
统计信息
- 总下载量: 327
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2018-04-18