Skip to content

Latest commit

 

History

History

edit

PhyloPic Editing Webapp

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.

Getting started

See instructions in the PhyloPic project README for setting up the monorepo project. You will also need to install and configure AWS Command Line Interface.

Environment variables

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

Linting

To clean up formatting for source files:

yarn lint

Running

To run on your local machine, on port 3001:

yarn dev

Authors

License

This project is licensed under the MIT License.