π Deploy Poll App to Rocket.chat
You donβt have to connect to rocket.chat cloud to install apps from the market place. If you have the appβs code, you can deploy the app yourself.
Here is an example to deploy poll app:
1, Install the rc-apps tool: npm install -g @rocket.chat/apps-cli. To confirm rc-apps has been successfully installed, run rc-apps -v
2, To install the poll app, go to https://github.com/sampaiodiego/rocket.chat.app-poll
3, Clone the repo: https://github.com/sampaiodiego/rocket.chat.app-poll.git
4, cd to the repo, and install dependencies with npm install and npm i @types/node
5, Build the poll package: rc-apps package
6, Deploy: rc-apps deploy. When run this command, it will prompt to ask you input your rocket.chat server url, adminβs username and password, like this:
1 | What is the server's url (include https)?: https://rc.example.com |