-
Notifications
You must be signed in to change notification settings - Fork 5
How to install the tree visualizator InTreeGreat
First of all, download the whole package in your working directory:
git clone https://github.com/SouthGreenPlatform/rap-green.git
-
From your GitHub instance, copy the whole
www/treedisplay/
directory on your webserver, in a web accessible location. The Apache service must be installed on the webserver (tested with Apache 2.4.12 and Tomcat 8.5.51). -
Create the configuration file with the command:
cp config_draft.php config.php
. You could then edit several parameters (for example the address linked to the leaves), but it is not mandatory. -
Create the CSS file with the command:
cp treedisplay_draft.css treedisplay.css
. that you can edit at will to change the look and feel.
Two methods are available to display a user chosen tree:
-
You can upload the tree using the "File" menu in the web interface
-
You can create a web formulary, fill a text field named and identified with the
hiddenfield
string, and then submit the formulary to theindex.php
file.
An example file is available in the deposit here:
example_files/example_colored_annotated_tree.nwk
, in the NHX format. NHX zones can contain several informations, like duplication events or branch colors.
Please don't hesistate to contact the webmaster.