A Rocket.Chat App slash command to create a poll
This project will no longer be maintained by me, I have retired my Rocket.Chat server in favor of a Matrix Synapse server.
Poll Version | Minimum Rocket.Chat Version |
---|---|
v1.x | 0.74.1 |
v2.x | 3.0.0 |
Rocket.Chat Poll App is provided via Rocket.Chat Marketplace https://rocket.chat/marketplace . To install it on your Rocket.Chat server, go to the Admin area, then Marketplace and search for Poll
, click Install
and you're ready to go.
Use the slash command to create a poll:
/poll What is your favorite color?
Fill the form:
The following poll will be created:
You'll need to set up the Rocket.Chat Apps dev environment, please see https://rocket.chat/docs/developer-guides/developing-apps/getting-started/
To install the using the command line, you have to turn on the setting Enable development mode
on the Rocket.Chat server under Admin > General > Apps
.
Then you can clone this repo and then:
npm install
rc-apps deploy
Follow the instructions and when you're done, the app will be installed on your Rocket.Chat server.
A Dockerfile and docker-compose are provided.
Build the docker image and run it to deploy to your server:
docker build -t rocketchatapp_poll . && docker run -it --rm -e URL=YOUR_SERVER -e USERNAME=YOUR_USERNAME -e PASSWORD=YOUR_PASSWORD rocketchatapp_poll
Build the docker image and run docker-compose to deploy to your server:
docker build -t rocketchatapp_poll . && docker-compose run --rm -e URL=YOUR_SERVER -e USERNAME=YOUR_USERNAME -e PASSWORD=YOUR_PASSWORD rocketchatapp_poll