This website generates a taxa tree compatible with Workbench and Wizzard from Specify 6 Specify 7.
- PHP 7.2+ (older versions may work)
- PHP Zip
- Any Webserver
All of the configuration parameters you must change for the site to work are located in ./config/required.php
Optional parameters are located in ./config/optional.php
- Open the
./config/required.php
file. Change the logic to properly detect correctCONFIGURATION
andDEVELOPMENT
constant values. The value ofDEVELOPMENT
will affect the error reporting level. - Set
LINK
to an address the website would be served on. - Set
WORKING_LOCATION
to an empty folder. This would be the destination for all the files created in the process. Make sure the webserver has READ and WRITE permissions to this folder. Warning! Files present in this directory may be deleted. - Run
http://<yourdomain>/refresh_data/
to download data. - Configure your webserver to point to the directory where this repository is saved.
You can go over the other settings in the ./config/optional.php
file and see if there is anything you would like to adjust.
For example:
- You can exclude internal IPs by adding them to
IPS_TO_EXCLUDE
. The data from those addresses would still be collected, but it wont be shown - You can set up daily CRON to the following location
http://<yourdomain>/cron/refresh_data.php
. This will automatically check for new versions of the taxa tree and download it.
There were snippets of code/files from the following resources used: