diff --git a/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml b/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml new file mode 100644 index 000000000..649b647d3 --- /dev/null +++ b/survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml @@ -0,0 +1,9 @@ +survos_crawler: +# if you've run symfony proxy:domain:attach my-project, then the error messages will be displayed with this prefix. That way, you can simply click on a link to open the page. +# base_url: 'https://my-project.wip/' + user_class: App\Entity\User + users: + - user@user.com + max_depth : 3 + routes_to_ignore : + - 'app_logout' diff --git a/survos/crawler-bundle/1.5/config/routes/survos_crawler.php b/survos/crawler-bundle/1.5/config/routes/survos_crawler.php new file mode 100644 index 000000000..adbbb7cc2 --- /dev/null +++ b/survos/crawler-bundle/1.5/config/routes/survos_crawler.php @@ -0,0 +1,9 @@ +import('@SurvosCrawlerBundle/config/routes.php') + ->prefix('/admin') // consider adding this path to the access_control key in security + ; +}; + diff --git a/survos/crawler-bundle/1.5/manifest.json b/survos/crawler-bundle/1.5/manifest.json new file mode 100644 index 000000000..d7e6adaaf --- /dev/null +++ b/survos/crawler-bundle/1.5/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Survos\\CrawlerBundle\\SurvosCrawlerBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} + diff --git a/survos/crawler-bundle/1.5/post-install.txt b/survos/crawler-bundle/1.5/post-install.txt new file mode 100644 index 000000000..67bf22bd4 --- /dev/null +++ b/survos/crawler-bundle/1.5/post-install.txt @@ -0,0 +1,8 @@ + + success + + + * Next steps: + 1. Configure /config/packages/survos_crawler.php and add the users and routes to ignore + 2. Run symfony console survos:crawl + 3. Visit /admin/crawler-results.