umnagendra/melania

Guide the steps

doanphong1208 opened this issue · 2 comments

Your tutorial is great, but I can not follow the details.
You can give me detailed instructions.
Now I will clone "melania-master" on My connector, then I just need to change the process.env file as instructed or need to change any other files?
Do you have a video or detailed steps to help me? Thanks!
Sorry, I'm just a newbie. I'm researching on your solution. it's amazing.

Hi @doanphong1208

  • What is the environment where you are trying to run this app? Is it a cloud service (like heroku, AWS etc.), or locally on your computer?

  • process.env is not a file. You just need to set the list of environment variables (provided in README.md in the Node.js runtime.

  • Sorry, I don't have a video. The steps I've provided are sufficiently detailed. If you can describe the specific problem you are facing, I can help.

Thanks for trying out melania!

Hi @umnagendra
Thank you for your help.

  • I have clone "melania-master" on locally on my computer having a public network (My Connector).
  • SocialMiner in the DMZ.
  • I changed something in C: \ melania-master \ test \ util \ UtilsSpec like:

const _setEnvironmentDefaults = () => {
process.env.PORT = 3000;
process.env.FB_PAGE_ACCESS_TOKEN = FBTOKEN=EAAZANchcbq6wBAIiP9Xzik36eSyZAQ0eHGqJxxxx;
process.env.FB_VERIFICATION_TOKEN = helloMessenger!;
process.env.VIRTUAL_ASSISTANT_NAME = Melania;
process.env.SOCIALMINER_HOST = socialminer.xxx.net;
process.env.SOCIALMINER_CHAT_FEED_ID = 100000;
process.env.CCX_QUEUE_ID = Chat_Csq21;
};

  • How to run melania-master? How to know if it works?
  • I have made chat between agent finesse and webchat very well.