This website generates a taxa tree compatible with Workbench and Wizzard from Specify 6 and Specify 7.
The data used by this tool comes from Catalogue of Life Dataset.
Citation:
Bánki, O., Roskov, Y., Vandepitte, L., DeWalt, R. E., Remsen, D., Schalk, P., Orrell, T., Keping, M., Miller, J., Aalbu, R., Adlard, R., Adriaenssens, E., Aedo, C., Aescht, E., Akkari, N., Alonso-Zarazaga, M. A., Alvarez, B., Alvarez, F., Anderson, G., et al. (2021). Catalogue of Life Checklist (Version 2021-09-21). Catalogue of Life. https://doi.org/10.48580/d4sv
Python 3.6+
Dependencies are specified in requirements.txt
# Create a virtual environment
python -m venv venv
# Install dependencies
venv/bin/pip install -r requirements.txt
- 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 ./front_end/config/required.php
Optional parameters are located in ./front_end/config/optional.php
- Open the
./front_end/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 and the user that would executeback_end/refresh_data.py
has READ and WRITE permissions to this folder. Warning! Files present in this directory may be deleted. - Run
back_end/refresh_data.py
. This will automatically check for new versions of the taxa tree and download it. You should also setup a daily or monthly CRON job for this file to keep your data up to date - Configure your webserver to point to
front_end
directory.
You can go over the other settings in the ./front_end/config/optional.php
file and see if there is anything you would like to adjust.
For example:
- You can configure stats reporting by making
STATS_URL
point to a location ofcollect/
script from Taxa Tree Stats reporter
There were snippets of code/files from the following resources used: