crawler/README.md

16 lines
461 B
Markdown
Raw Normal View History

2024-02-12 16:14:17 +02:00
# KVAZAR Index Crawler
## Compatible
* [webapp](https://github.com/kvazar-network/webapp)
## Install
2024-02-13 02:20:59 +02:00
* `apt install git composer manticore php-fpm php-curl php-mbstring php-pdo php-bcmath`
2024-02-13 02:10:53 +02:00
* `git clone https://github.com/kvazar-network/crawler.git`
2024-02-12 16:20:27 +02:00
* `cd crawler`
2024-02-13 02:10:53 +02:00
* `composer update`
2024-02-12 16:20:27 +02:00
* `cp example/config.json config.json`
2024-02-13 02:14:24 +02:00
* `crontab -e`:`* * * * * php src/index.php`
* drop index: `php src/index.php drop`
* optimize index: `php src/index.php optimize`