Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Latest commit

 

History

History
40 lines (24 loc) · 1.22 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.22 KB

OmniScrapper HQ

Web application for OmniScrapper management.

It main goal is to provide:

  • Ability to define scrappers in UI
  • Ability to test defined scrappers from UI
  • Ability to schedule scrapping schedule

Setup

Demo

If you want just to see how the application works, you can use dockerized setup to start project with a single command.

Run

docker-compose up -d postgres redis kafka web then run docker-compose up -d scheduler runner

in the directory of project, and they visit localhost:2300.

Dockerized version has already defines scrapper for HackerNews website, which will be started right after services start.

Start

  • Copy env variables cp .env.development.sample .env.development
  • Run make db-prepare it will create db, run migrations and fill database with data
  • To start the server run make server

Seeds

Run rake db:seed to fill the database with sample data ready for testing.

It will add one real site, schema and task for scrapping. Feel free to go to tasks page and run sample scrapping.