Skip to content

pesetskyps/WomanDayBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot mini demo can be seen here

  • card support
  • userdata save to cosmosdb
  • order save to cosmosdb

Prerequisites

  • .NET 2.1 here
  • Bot Framework Emulator here
  • CosmosDB local database here

Create CosmosDB database

  • start CosmosDB emulator
  • go to https://localhost:8081/_explorer/index.html
  • Create database WomanDayBot
  • Create Collection
    • Database id: WomanDayBot
    • Collection Id: Orders
    • Partition key: /orderId
    • Throughput: 10000
    • Unique keys: /orderId
  • Create Collection
    • Database id: WomanDayBot
    • Collection Id: CardConfiguration
    • Partition key: /cardconfigid
    • Throughput: 10000
    • Unique keys: /cardconfigid
  • Upload Documents for local development localted in the .\WomanDayBot\Data\CardConfiguration.json (upload may hand locally, create docs one by one then )

WomanDayBot

Run the bot from a terminal or from Visual Studio. - Launch Visual Studio - File -> Open -> Project/Solution - Select <your_project_folder>/WomanDayBot.sln file - Press F5 to run the project

Testing the bot using Bot Framework Emulator v4

Bot Framework Emulator is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.

  • Install the Bot Framework Emulator version 4.2.0 or greater from here

Connect to the bot using Bot Framework Emulator v4

  • Launch Bot Framework Emulator
  • File -> Open Bot Configuration
  • Navigate to <your_project_folder>/WomanDayBot folder
  • Select WomanDayBot.bot file
  • Secret is stored in Azure Bot settings (ask in skype chat)

Further reading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •