From 4e21db37b12eb27f2fbd4b023efd9a65b0dd004d Mon Sep 17 00:00:00 2001 From: GRMrGecko Date: Wed, 4 Dec 2019 11:43:20 -0600 Subject: [PATCH] Fixed instructions to include npm instructions. --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6906a5a..89231bc 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,13 @@ Next, you will need to add the Canned Responses app to your Rocket.Chat instance 1. 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. 2. Follow instructions at https://rocket.chat/docs/developer-guides/developing-apps/getting-started/ to install the apps-cli. -3. Change directory to the Canned Responses directory and run the following. +3. Change directory to the Canned Responses directory and install needed modules. + +```bash +npm install +``` + +4. Deploy the app to your Rocket.Chat instance. ```bash rc-apps deploy --url=https://rocket.domain.com -u USER_ACCOUNT -p "PASSWORD" @@ -26,4 +32,4 @@ If you are modifying the code, you can run the following to update the App after rc-apps deploy --url=https://rocket.domain.com -u USER_ACCOUNT -p "PASSWORD" --update ``` -4. 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. \ No newline at end of file +5. 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. \ No newline at end of file