From d54e14d07100a4fd326d8a6cd03aa4e0eb50d524 Mon Sep 17 00:00:00 2001 From: mb Date: Wed, 5 Dec 2018 00:36:46 +0100 Subject: [PATCH] 'README.md' updaten --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index de77342..aa32281 100644 --- a/README.md +++ b/README.md @@ -2,31 +2,36 @@ A mastodon api prototyping area, a Flask interface exploration to test toots in other environments. -## These things are dependencies + +### This prototype depends on ... * Mastodon.py (```$ pip3 install Mastodon.py```) * Flask (```$ pip3 install flask```) -## At the first time the script is running (and the mastodon api is used ...) + +### At the first time the script is running + +(and the mastodon api is used ...) Change the ```name``` and ```instance``` in the file ```api_register_app.py```. And run: ```$ python3 api_register_app.py``` -## To run it + +### To run it Change the ```api_base_url``` in ```interface.py``` to the instance that you want to use. -And then ... +And then ... ```$ python3 interface.py``` -```$ python3 interface.py``` +Browse to localhost:5000 :) -Browse to localhost:5000 ! :) -## More ... +### More ... There are a couple of API tests in the ```mastodon_api_tests.py``` file. -## Preview + +### Preview ![](Screenshot\ from\ 2018-12-05\ 00-32-36.png) \ No newline at end of file