Skip to content

Crawler application with dramatiq tasks processing in core of parsing

Notifications You must be signed in to change notification settings

DanilaCharushin/search-engine

Repository files navigation

code quality

Info

  • Python version: 3.8
  • Django version: 3.2
  • PostgreSQL version: 13
  • Tasks processing: dramatiq[redis]

Get started

  1. Install Python 3.8.15
  2. Install Docker
  3. Install Taskfile
  4. Initialize project: task init
  5. Know more about all available tasks run task --list
  6. Optional install Allure: brew install allure

To run application type task up

To test application type task test

To stop application type task down

To build application docker image type task build

Important info:

  • task lint and task format uses local venv
  • task freeze creates temp venv locally, install requirements.txt, freeze it and do cleanup
  • If you add new python requirement, you have to run task freeze and then task build commands

Testing

To run specific test just run task test:concrete -- <any_part_of_test_name>

To run only failed test type task test:failed

To show html coverage report run task coverage

To inspect tests results with allure type task allure (needs installed allure)

About

Crawler application with dramatiq tasks processing in core of parsing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published