Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nepster-web/php-crawler-test-work
Тестовое задание
https://github.com/nepster-web/php-crawler-test-work
docker php-crawler php7 phpunit
Last synced: 14 days ago
JSON representation
Тестовое задание
- Host: GitHub
- URL: https://github.com/nepster-web/php-crawler-test-work
- Owner: nepster-web
- Created: 2015-12-24T16:51:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-18T19:41:12.000Z (over 6 years ago)
- Last Synced: 2024-12-03T10:27:08.219Z (2 months ago)
- Topics: docker, php-crawler, php7, phpunit
- Language: PHP
- Size: 79.1 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP Crawler
Приложение демонстрирует пример работы бота-парсера,
подробное описание которого описано в [тестовом задании](./TASK.md).# Запуск
Для работы приложения необходимо установить
[Docker](https://www.docker.com) и
[Docker Compose](https://docs.docker.com/compose/).Запуск приложения осуществляется с помощью makefile:
```
make cwr ARGS="-u=http://robotstxt.org.ru -d=2"
```или
```
make cwr ARGS="--url==http://robotstxt.org.ru --depth=2"
```Результат сохраняется в директорию **www/reports**.
# Тесты
Приложение использует [PHPUnit](https://phpunit.de/) для тестирования.
Команда для запуска тестов:```
make tests
```