<commit_before>
How to make changes to the files.opentreeoflife.org site
====

The site is currently deployed on ot10.opentreeoflife.org (a.k.a
devapi.opentreeoflife.org), with a web root directory of
~opentree/files.opentreeoflife.org/.

There are two kinds of files in this tree: "large" and "small".  The
large files (e.g. versions of OTT or the synthetic tree) are simply
copied into place.  The small files - mostly index.html files - can be
updated in either of three ways:

### Push method 1

Update the small files you want to change in your local clone of the
opentree repository, under deploy/files.opentreeoflifeorg/, and then
copy files into place using scp or rsync:

    scp -p foo/index.html <EMAIL>:files.opentreeoflife.org/foo/

Commit your local changes, push to a branch, and submit a pull request.

### Push method 2

Update the small files you want to change in your local clone of the
opentree repository, under deploy/files.opentreeoflifeorg/, and then
do

    cd opentree/deploy
    ./push.sh -c ../../deployed-systems/development/devapi.config files

(Be sure you give the 'files' command.)

This assumes you've checked out the deployed-systems repo in a sibling
directory of where the opentree repo is checked out.<commit_msg>minor files README.md clarifications<commit_after>
How to make changes to the files.opentreeoflife.org site
====

The site is currently deployed on ot10.opentreeoflife.org (a.k.a
devapi.opentreeoflife.org), with a web root directory there of
~opentree/files.opentreeoflife.org/.

There are two kinds of files in this tree on ot10: "large" and "small".  The
large files (e.g. versions of OTT or the synthetic tree) are simply
copied from wherever they originate to the appropriate place on ot10.
The small files - mostly index.html files - are mirrored manually 
in the opentree repo on github.  These can be
updated on ot10 in any of three ways:

### Push method 1

Clone the opentree repository, or make sure it's up to date ('git pull').
Update the small files you want to change in your local clone, 
under deploy/files.opentreeoflifeorg/.  Then
copy files into place on ot10 using scp or rsync:

    scp -p foo/index.html <EMAIL>:files.opentreeoflife.org/foo/

Commit your local changes, push to a branch, and submit a pull request.

### Push method 2

May be better for more complicated changes.
As above, clone or update the opentree repo.
Update the small files you want to change in your local clone, 
under deploy/files.opentreeoflifeorg/, and then do

    cd opentree/deploy
    ./push.sh -c ../../deployed-systems/development/devapi.config files

(Be sure you give the 'files' command.)

This assumes you've checked out the deployed-systems repo in a sibling
directory of where the opentree repo is checked out.
{'fraction_non_alphanumeric': 0.07065609228550829, 'fraction_numerical': 0.005767844268204758, 'mean_word_length': 3.9202127659574466, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5430478', 'n_tokens_mistral': 843, 'n_tokens_neox': 808, 'n_words': 390}