-
Notifications
You must be signed in to change notification settings - Fork 12
rsphider automation notes
Brad Smith edited this page May 7, 2015
·
5 revisions
This has been implemented
- Looks like this is done in
admin/install_tables.php
- Automatic creation of tables:
cd rsphider/admin/ ; echo "" | php5 -R 'include("install_tables.php");' -B 'parse_str($argv[1], $_GET);' 'f=1&db_num=0'
- c.f. http://php.net/manual/en/features.commandline.php#116023
- Automatic creation of tables:
- Looks like
admin/spider.php
is designed to run from the command-line! This should make things much easier!php5 spider.php --help
sudo php5 spider.php -f -u http://192.168.33.20/modules/infonet/ -m 'modules/infonet'
- ...actually, it looks like you may be able to just index
http://SERVER_ADDRESS
and do the whole site.- Question: Is there an advantage to indexing sites individually?
- what if you deploy a system and a later update adds a site?
- Question: Is there an advantage to indexing sites individually?