- in stall redis database
- activate virtualenv
- install requirements.txt
$ pip install -r requirements.txt
- run application
flask run
manual:
please open console
$ curl --header "Content-Type: application/json" --request POST --data '{ "links": ["https://ya.ru", "https://ya.ru?q=123", "funbox.ru", "https://stackoverflow.com/questions/11828270/how-to-exit-the-vim-editor"] }' http://localhost:5000/visited_links
$ "http://localhost:5000/visited_domains?from=1385640049&to=1885840286"
for run autotests, execute
$ python -m pytest