mirror of
https://github.com/kvazar-network/crawler.git
synced 2025-01-08 22:27:56 +00:00
update readme
This commit is contained in:
parent
0453bc2045
commit
8c8fb43635
@ -11,7 +11,12 @@
|
|||||||
* `git clone https://github.com/kvazar-network/crawler.git`
|
* `git clone https://github.com/kvazar-network/crawler.git`
|
||||||
* `cd crawler`
|
* `cd crawler`
|
||||||
* `composer update`
|
* `composer update`
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
* `cp example/config.json config.json`
|
* `cp example/config.json config.json`
|
||||||
* `crontab -e`:`* * * * * php src/index.php`
|
* `crontab -e`:`* * * * * php src/index.php`
|
||||||
* drop index: `php src/index.php drop`
|
* drop index: `php src/index.php drop`
|
||||||
* optimize index: `php src/index.php optimize`
|
* 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`_
|
Loading…
Reference in New Issue
Block a user