COVID AMP database documentation
Interactive database documentation for the database that powers the COVID Analysis and Mapping of Policies (AMP) site.
Open the docs by cloning this repository to your device and opening the file ./docs/index.html in a web browser.
Interactive documentation is currently generated automatically using the SchemaSpy tool (v6.1).
Follow this checklist to update the docs found in directory docs
using the SchemaSpy tool.
- Download SchemaSpy as described at the SchemaSpy site.
- Install the version of Java required by your version of SchemaSpy (see SchemaSpy installation documentation)
- Create file
config.file
based onconfig-template.file
that populates the missing database connection values with the correct values, e.g., host (host
), username (u
), password (p
). - Run shell script
create.sh
with shell commandbash create.sh
- When the script terminates, updated docs will be in the directory
docs
.
- Make a copy of this repository
- Install any required driver's JAR file to directory
jdbc
(this repository comes with a PostgreSQL driver) - Change parameters in your
./config/config.file
to point to the database you'd like to document - Delete the contents of directory
docs
- Run shell script
create.sh
with shell commandbash create.sh