Learning project - simple chatbot written in Node.js using Express.js and Dialogflow API, running on Heroku.
heroku config:add VARIABLE_NAME=variable-value
heroku config:add PAGE_ACCESS_TOKEN=page-access-token-string
Local configuration (Windows PowerShell) link
$env:DIALOGFLOW_PRIVATE_KEY='"private key"'(yes, with double single and double quotes)$env:DIALOGFLOW_CLIENT_EMAIL="client email"
- do we have some keys?
$ heroku keys
- delete all keys
$ heroku keys:clear
- generate the key
ssh-keygen -t rsa
- add the key
heroku keys:add
- -> profit
git remote add heroku git@heroku.com:project_name.git