Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Latest commit

 

History

History
39 lines (26 loc) · 823 Bytes

README.rst

File metadata and controls

39 lines (26 loc) · 823 Bytes

ImageResizer

It's solution of test task. In brief, need to create service to decrease image by two times by using python, some libs and some technologies.

This app have rest api and support websocket connections. For rest api docs used drfdocs generator (to see need to install and visit http://localhost:8000/docs).

Used libs: django, celery, channels, django rest framework and other.

Installation

Use python 2.7 or python 3.4+

git clone https://github.com/Tramort/image_resizer.git
cd image_resizer
pip install -r requirements.txt
python manage.py check
python manage.py makemigrations
python manage.py migrate
python manage.py test

Usage

python manage.py celery worker

and

python manage.py runserser