small changes in readme
authorSebastian Steiner <e1029038@student.tuwien.ac.at>
Fri, 18 Jan 2019 14:43:11 +0000 (15:43 +0100)
committerSebastian Steiner <e1029038@student.tuwien.ac.at>
Fri, 18 Jan 2019 14:43:11 +0000 (15:43 +0100)
service-analysis/README.md

index 802b4eb7201db7c7f70e777e270ad022bfee105a..f2fefbcfec23a61e778020fe10056d21bca8c256 100644 (file)
@@ -41,16 +41,14 @@ 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
+- flask
+- 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"}]'`
-- negative sentiment test example:
-  -> `curl -v -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"i hate you, please die"}]'`
+- positive sentiment test example: `curl -v -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"happy birthday, i love you"}]'`
+- negative sentiment test example: `curl -v -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"i hate you, please die"}]'`
   
 ## health check
 Under http://localhost:8081/health the service returns HTTP Status 200 if it is running OK.