Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 528 Bytes

File metadata and controls

32 lines (19 loc) · 528 Bytes

Enpal Python task

This repository is the base work for a live coding interview at Enpal.

Installing dependencies

pip install -r requirements.txt

Running the application synchronously

python main.py

Running tests

python -m unittest

(Optionally) running the appliction asynchronously

docker run -p 6379:6379 redis

On Mac / Linux:

celery -A tasks worker --loglevel=INFO
python async.py

on Windows:

celery -A tasks worker --loglevel=INFO -P gevent
python async.py```