-
please edit config database information and app details in index.js, config.json, middleware/mysqlconnector.js, ManagerChatBox/Database/DatabaManager.cs (view information in mysql in your pc and https://developers.facebook.com/apps/)
-
Create database in myQSL with file db_creator.spl in folder Database/
- socket.io
- nodemon
- express
- mysql
- nconf
- uuid
- request
npm install --save socket.io
npm install --save nodemon
npm install --save express
npm install --save mysql
npm install --save nconf
npm install --save uuid
npm install --save request
- socket.io
- nodemon
- express
npm install --save socket.io
npm install --save nodemon
npm install --save express
- numpy
- pandas
- sklearnp
pip install numpy==1.19.3
pip install pandas
pip install scikit-learn
pip install scikit-learn --upgrade
cd PythonNLP py main.py
cd webhook-server
npm run start
Enable socket.io server
cd io_server
npm run start
Now we need to make application accessible from Internet
cd ..
./ngrok authtoken [your_authtoken]
# Get your authtoken at https://dashboard.ngrok.com/get-started/setup (need to sign in)
./ngrok http 14337 # Tunnel with port 14337
Read the Forwarding IP (with https protocol) => Add setup webhook url with random string VERIFY_TOKEN.