Browse Source

update readme

main
ghost 10 months ago
parent
commit
8c8fb43635
  1. 5
      README.md

5
README.md

@ -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…
Cancel
Save