composerkevacoinkvamanticorecrawlerkvazarspiderkvazar-networkblockchain-crawlerwebapp-crawlerkvazar-crawlerindex-php
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.
ghost
8c8fb43635
|
10 months ago | |
---|---|---|
example | 10 months ago | |
src | 10 months ago | |
.gitignore | 10 months ago | |
LICENSE | 10 months ago | |
README.md | 10 months ago | |
composer.json | 10 months ago |
README.md
KVAZAR Index Crawler
Compatible
Install
apt install git composer manticore php-fpm php-curl php-mbstring php-pdo php-bcmath
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
- drop index:
To prevent data lose on server failures, set binlog flush strategy to binlog_flush = 1
in /etc/manticoresearch/manticore.conf