-
-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add survos/crawler-bundle * fix spacing * Update survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml Co-authored-by: Ryan Weaver <[email protected]> --------- Co-authored-by: Ryan Weaver <[email protected]>
- Loading branch information
1 parent
6130306
commit ec85310
Showing
4 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
survos/crawler-bundle/1.5/config/packages/survos_crawler.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: | ||
- [email protected] | ||
max_depth : 3 | ||
routes_to_ignore : | ||
- 'app_logout' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; | ||
|
||
return static function (RoutingConfigurator $routes): void { | ||
$routes->import('@SurvosCrawlerBundle/config/routes.php') | ||
->prefix('/admin') // consider adding this path to the access_control key in security | ||
; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"bundles": { | ||
"Survos\\CrawlerBundle\\SurvosCrawlerBundle": ["all"] | ||
}, | ||
"copy-from-recipe": { | ||
"config/": "%CONFIG_DIR%/" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<bg=green;fg=white> </> | ||
<bg=green;fg=white> success </> | ||
<bg=green;fg=white> </> | ||
|
||
* <fg=yellow>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 <comment>/admin/crawler-results</>. |