Deploy your own version of Engager using the Heroku buttons below. Please note this UI is only meant to be used in Mobile Browsers.
Install the unmanaged package to your desired salesforce org first.
In Heroku, provision "Heroku Connect" addon, via quick search addons menu. As of now, the url for app configuration is here.
Click the Heroku Connect addon, after creation to configure the service to your Salesforce instance.
Click next till you authorize the app and are at the Mappings configuration screen.
Create New Mapping
Select the managed package SObject "engager_answer__c" as the desired object.
Check the "Database->Salesforce" option and select the following fields: value__c, customer_name__c, questions_text__c.
Save.
Test by answering a question and see the answer in Salesforce "Engager" tab a few moments later
More info on Heroku Connect here.
Clone the App repository:
git clone https://github.com/gonimbly/engager-app
Create the Heroku app:
heroku create
Install Postgres:
heroku addons:create heroku-postgresql:hobby-dev
Install Redis:
heroku addons:create heroku-redis:hobby-dev
Deploy the Engager App:
git push heroku master
Initialize the database:
heroku run init-db
For the sake of easy setup, we'll be using the externally hosted heroku-postgres and heroku-redis databases to store information. So, if you already haven't deployed Engager via Heroku Button, please do this before attempting to run locally.
Clone the App repository:
git clone https://github.com/gonimbly/engager-app
Install the dependencies:
npm i
Retrieve datastore environment variables from Heroku (pre-requisit is deploy Engager via Heroku Button):
heroku config --app DEMO-ENGAGER-APP
Set local environment variables:
export DATABASE_URL="{postgres_connection_str}"
export REDIS_URL="{redis_connection_str}"
Initialize the database:
npm run init-db
Start the App:
npm run start
Visit in your browser:
open http://localhost:9000/