Welcome to the Werkzeug tutorial in which we will create a TinyURL clone that stores URLs in a redis instance. The libraries we will use for this applications are Jinja 2 for the templates, redis for the database layer and, of course, Werkzeug for the WSGI layer.
You can use pip to install the required libraries:
pip install Jinja2 redis Werkzeug
Also make sure to have a redis server running on your local machine. If you are on OS X, you can use brew to install it:
brew install redis
If you are on Ubuntu or Debian, you can use apt-get:
sudo apt-get install redis-server
Redis was developed for UNIX systems and was never really designed to work on Windows. For development purposes, the unofficial ports however work well enough. You can get them from github.