You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
||4 years ago|
|.vscode||4 years ago|
|i18n||4 years ago|
|web-api||4 years ago|
|.editorconfig||4 years ago|
|.gitignore||4 years ago|
|CannedResponsesApp.ts||4 years ago|
|License.txt||4 years ago|
|README.md||4 years ago|
|app.json||4 years ago|
|icon.png||4 years ago|
|package-lock.json||4 years ago|
|package.json||4 years ago|
|slashcommands.ts||4 years ago|
|tsconfig.json||4 years ago|
|tslint.json||4 years ago|
This is a Rocket.Chat App which is designed to add Canned Responses via the
/can slash command. The app requires a helper which can be installed on a standard LAMP or LEMP stack with SQLite3 or MySQL/MariaDB support.
First, install the helper under the
web-api folder on your server.
- Configure the options at the top of the
index.phpto fit your needs.
- Upload to your LAMP/LEMP service provider, it can be under a sub directory if needed or a sub domain/primary domain.
- Visit the URL under which the helper app resides.
- Create your first user account which will become your administrator account.
- Start adding canned responses.
Next, you will need to add the Canned Responses app to your Rocket.Chat instance.
- Under Rocket.Chat administration, go to General -> Apps and enable development mode to allow apps to be installed which are not in the market place.
- Follow instructions at https://rocket.chat/docs/developer-guides/developing-apps/getting-started/ to install the apps-cli.
- Change directory to the Canned Responses directory and install needed modules.
- Deploy the app to your Rocket.Chat instance.
rc-apps deploy --url=https://rocket.domain.com -u USER_ACCOUNT -p "PASSWORD"
If you are modifying the code, you can run the following to update the App after you have installed it.
rc-apps deploy --url=https://rocket.domain.com -u USER_ACCOUNT -p "PASSWORD" --update
- In the Rocket.Chat administration, go the Apps -> Canned Responses and enable/set the API URL to your helper's URL with
/api/added to the end.