crawler/README.md
2024-02-20 01:56:23 +02:00

17 lines
520 B
Markdown

# KVAZAR Index Crawler
## Compatible
* [webapp](https://github.com/kvazar-network/webapp)
* [geminiapp](https://github.com/kvazar-network/geminiapp)
## 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`
* `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`