Kvazar Index Crawler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
722 B

5 months ago
# KVAZAR Index Crawler
## Compatible
* [webapp](https://github.com/kvazar-network/webapp)
4 months ago
* [geminiapp](https://github.com/kvazar-network/geminiapp)
5 months ago
## Install
5 months ago
* `apt install git composer manticore php-fpm php-curl php-mbstring php-pdo php-bcmath`
5 months ago
* `git clone https://github.com/kvazar-network/crawler.git`
5 months ago
* `cd crawler`
5 months ago
* `composer update`
4 months ago
## Setup
5 months ago
* `cp example/config.json config.json`
5 months ago
* `crontab -e`:`* * * * * php src/index.php`
* drop index: `php src/index.php drop`
4 months ago
* optimize index: `php src/index.php optimize`
4 months ago
_To prevent data lose on server failures, change default [binlog flush strategy](https://manual.manticoresearch.com/Logging/Binary_logging#Binary-flushing-strategies) to `binlog_flush = 1`_