3.2.1 • Published 6 years ago

@stefancfuchs/firefly-chatbot v3.2.1

Weekly downloads
-
License
-
Repository
-
Last release
6 years ago

To export the data from the DB:

ssh -L 4545:localhost:27017 firefly@169.57.196.12 -N
mongoexport --db firefly-chatbot --collection chatClients3 --out output/chatClients.json --port 4545 #--jsonArray

#ts-node src/chatbot/ChatHistoryAnalyser.ts
# To generate a CSV of the customers data
npm run chatHistory

To migrate data from old DB:

npm run migrateDb