Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 656 Bytes

README.md

File metadata and controls

29 lines (25 loc) · 656 Bytes

One more URL shortener

To run this app in docker you need to install docker-compose:

    pip install docker-compose

then just run it from root

    docker-compose up

To run this app on local system you must have installed redis database in your system

    pip install -r requirements.txt
    PYTHONPATH=. python app/main.py

Don't forget to change URL_ROOT environment variable if changing BIND_HOST or BIND_PORT!

Tests

To run tests for this app you must install pytest on ur local system

    pip install pytest

then just run it from root

    PYTHONPATH=. pytest