From 3cc7e3e81418b1648d394c3e9e5a8095edc7d561 Mon Sep 17 00:00:00 2001 From: abrahamq Date: Wed, 22 Aug 2018 16:07:26 -0400 Subject: [PATCH] new release for prep replies --- CHANGELOG.md | 3 +++ README.md | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28ffbf8..8beebcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,3 +25,6 @@ Deployment version: ### v0.1.1 - Allow multiple card decks + +### v0.1.2 +- Prep cards in reply diff --git a/README.md b/README.md index f2a8f8d..4326084 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ Save a copy of sample.env as .env in local directory with appropriate credential Configuration variables are as follows: * `API_GW_WEBHOOK` - the API GW address for the webhook endpoint (e.g. https://chatbots.riskmap.us/facebook/webhook). Currently this is unused by functions and is for reference * `CARDS_API` - the endpoint to get new report cards +* `CARDS_DECK` - which cards decks are deployed on this instance. Subset of 'flood,prep'. * `CARDS_API_KEY` - the api key for the cards endpoint * `CARDS_URL` - the URL for card resources as sent to the client * `DEFAULT_INSTANCE_REGION_CODE` - in case a report is submitted outside a city, what city should the code fallback on @@ -34,6 +35,7 @@ Configuration variables are as follows: * `FACEBOOK_VALIDATION_TOKEN` - a random string that is a shared secret between Facebook and this software (e.g. a [UUID](https://duckduckgo.com/?q=!guid)) * `MAP_URL` - the risk map URL * `NETWORK_NAME` - 'facebook' for CogniCity logging +* `PREP_URL` - the prep card url (e.g. https://cards-dev.riskmap.in/prep/) ### Facebook Configuration - To subscribe to the get started button, make sure the app is subscrived to `messaging_postbacks` as set in the Messenger -> Settings -> Webhooks -> Edit events config page in developers.facebook.com @@ -46,4 +48,4 @@ run `npm run test` 1. Update CHANGELOG.md 2. Commit all changes 3. Tag release in Git and create release in GitHub -4. On the dev branch increment the version number, new development takes place in the new version \ No newline at end of file +4. On the dev branch increment the version number, new development takes place in the new version