29 Jan 2020 Update: Amphibian Disease portal has migrated! Read more in our blog announcement here. This repo is frozen at the moment during our transition.
Please refer to our current repo at AmphibiaWebDiseasePortal 2.0
Visit the new site at AmphibianDisease.org
See the documentation over at https://amphibian-disease-tracker.readthedocs.org/en/latest
TODO
You can view a CSON representation of the data storage of the system at ./meta/data-storage.coffee
There is no equivalent to BD-Maps' following fields:
radius
field.sampled_species_detail[N].sampled_life_stages
disease_no_confidence
, problems with animals belong with the raw data.This data is encrypted using BlackBox. If you want access to the configuration, please ask to have your credentials added, or add it yourself in a clone and push the changes. Once you let an administrator know, you can be added to the keyring and gain decryption privledges.
This writeup assumes you have access to a Linux-like environment. If you run Windows, set up Bash on Ubuntu on Windows (WSL) for best results.
Your life will also be a lot easier if you have Homebrew or LinuxBrew installed.
brew install yarn
yarn global add grunt-cli
.yarn global add coffee-script less
yarn install
to install local dependencies.brew install blackbox
You can update the whole application, with dependencies, by running
grunt build
at the root directory.
If you don't need to update dependencies, just run grunt qbuild
.
If you're part of the project, your PGP public key should already be registered in the application. If you need to make changes, do:
blackbox_edit_start PATH/TO/FILE.ext.gpg
# Edit your file
blackbox_edit_end PATH/TO/FILE.ext
The two primary configuration files are CONFIG.php.gpg
and admin/CONFIG.php.gpg