Skip to content

RepentantGopher/url_shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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