8000 GitHub - vadushkin/rq-demo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

vadushkin/rq-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis Queue demo based on Flask app

Description

The project acquaints with the Redis Queue, a simple Python library for queueing jobs and processing them in the background with workers.

Technologies

  • Python3;
  • Flask web-framework;
  • Redis nosql database;
  • Redis Queue library;
  • Poetry virtual environment;

Installation

Prerequisites

Install Redis and Python3 on your computer. Use Poetry for virtual environment.

Then go to a command line

Clone repository and navigate to folder on command line:

git clone ...
cd rq-demo

Install dependencies, run virtual environment

poetry install
poetry shell

Start Redis-server and check if Redis is working properly (response is PONG)

redis-server
redis-cli ping

Launch, start tasks and monitoring

Proceed to rq-demo/rq_demo folder and run the app, then go to url

cd rq_demo
poetry run flask run
http://127.0.0.1:5000/

And it's clearer to run the application in VScode debug mode

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 48.7%
  • HTML 26.5%
  • CSS 24.8%
0