From 8c8fb43635fd69fc48e4cb33228c70143f7aca4a Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 4 Mar 2024 20:02:19 +0200 Subject: [PATCH] update readme --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 04ee660..8a9f89f 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,12 @@ * `git clone https://github.com/kvazar-network/crawler.git` * `cd crawler` * `composer update` + +## Setup + * `cp example/config.json config.json` * `crontab -e`:`* * * * * php src/index.php` * drop index: `php src/index.php drop` - * optimize index: `php src/index.php optimize` \ No newline at end of file + * optimize index: `php src/index.php optimize` + +_To prevent data lose on server failures, set [binlog flush strategy](https://manual.manticoresearch.com/Logging/Binary_logging#Binary-flushing-strategies) to `binlog_flush = 1` in `/etc/manticoresearch/manticore.conf`_ \ No newline at end of file