Skip to content

danemesis/covid19knowledgebase

Repository files navigation

covid19knowledgebase

Up & running, management

It is the knowledgebase for COVID-19 related questions with links. Not prodiction ready.

We definitely need Python guru here who can put code & python architecture of the application on the next level.

Main dependencies

  • flask (for handling incoming requests and hot reloading)
  • fuzzywuzzy (for finding answers in knowledgebase on incoming questions). More about it 1, More 2

Run

Prerequirements

  • python version 3.8.1
  • pip version 20.0.2
  • flask version 1.1.1
  • set FLASK_ENV=development for hot reloading (export instead of set on unix)

Start

  • flask run

Docker

Go and run knowledgeBase in docker container

  1. Build the image docker build -t covid-knowledgebase:latest .
  • Run the container docker run -d -p 5000:5000 covid-knowledgebase:latest

  • Check application avalability curl localhost:5000/api/ping