From d26918b8b0d3ba8ce4516f2e5ee83f2edb19c707 Mon Sep 17 00:00:00 2001 From: Sebastian Steiner Date: Fri, 18 Jan 2019 15:44:00 +0100 Subject: [PATCH] small changes in readme --- service-analysis/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/service-analysis/README.md b/service-analysis/README.md index f2fefbc..2cdcbbc 100644 --- a/service-analysis/README.md +++ b/service-analysis/README.md @@ -41,10 +41,9 @@ The api key can be set in the file indico_api_key.txt. The current key does work ## run local ### requirements - python 3.7 -pip: -- indicoio -- flask -- flask_restful +- pip: indicoio +- pip: flask +- pip: flask_restful ### commands - `python3.7 sentiment_analysis.py` - positive sentiment test example: `curl -v -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"happy birthday, i love you"}]'` @@ -52,5 +51,5 @@ pip: ## health check Under http://localhost:8081/health the service returns HTTP Status 200 if it is running OK. -### commans +### commands curl -v -X GET http://localhost:8081/health -- 2.43.0