This Next.js application allows users to manage data for PhyloPic, including phylogenetic nodes and silhouette images. It includes the interface for reviewing images uploaded via the Contribute webapp.
This app is only meant to be run locally. It is not hosted online.
See instructions in the PhyloPic project README for setting up the monorepo project.
The following environment variables are required. They may be stored in .env.local in the root of this project, when running the project locally.
| Variable Name | Description |
|---|---|
NEXT_PUBLIC_API_URL |
Root URL of the PhyloPic API (https://api.phylopic.org) |
PGHOST |
Postgres host |
PGPASSWORD |
Postgres password |
PGUSER |
Postgres user |
S3_ACCESS_KEY_ID |
Amazon Web Services S3 access key ID |
S3_REGION |
Amazon Web Services S3 region |
S3_SECRET_ACCESS_KEY |
Amazon Web Services S3 secret access key |
The following environment variables are optional:
| Variable Name | Description |
|---|---|
PGPORT |
Postgres port (default: 5432) |
To clean up formatting for source files:
yarn lintTo run on your local machine, on port 3001:
yarn dev- T. Michael Keesey - keesey
This project is licensed under the MIT License.