This is a small service that manipulates images. You can upload an image and crop, resize, or transcode that image using using the API endpoints.
Create a virtual environment
virtualenv venv
source venv/bin/activate
Install the dependencies
pip install -r requirements.txt
Start Redis
redis-server
# Or, to run in the background
redis-server &
Start the application
python app.py
You should follow the same steps above for a virtual environment.
To run all tests:
py.test tests
To run an individual test:
py.test tests/<name_of_module>.py