Skip to main content

Getting Started

This section gets a new local PhenoWorks web-platform checkout to the first usable study workspace.

Quick Path

  1. Install the backend package and frontend dependencies.
  2. Configure database, data directory, and branding values.
  3. Start the FastAPI backend and Next.js frontend.
  4. Sign in with the default local administrator account.
  5. Create a project, study, dataset, plot, and asset.
  6. Run the first analysis pipeline.

Requirements

AreaRequirement
PythonPython 3.11 or newer.
BackendFastAPI, SQLAlchemy, Pydantic, LgoPy, lgopy-catalog, Celery/RabbitMQ support, and storage dependencies from pyproject.toml. The backend runs locally today and is intended to move to cloud infrastructure later.
FrontendNode.js and the package manager used by the ui/ workspace.
DatabasePostgreSQL through PHENOWORKS_DB_* settings, or an explicit PostgreSQL PHENOWORKS_DATABASE_URL.
StorageA writable PHENOWORKS_DATA_DIR for uploads, assets, artifacts, analysis modules, and logs.

Launch Commands

Both Servers

make run-dev
# or: just run-dev

Backend

make dev-api
# or: just dev-api

Frontend

make dev-ui
# or: just dev-ui

Default Login

UserEmailPassword
Administratoradmin@phenoworks.localphenoworks-admin
Collaborator demo usercollaborator@phenoworks.localphenoworks-collab
warning

Replace default credentials and secrets before exposing the app outside a local development environment. Keep AUTH_SECRET or NEXTAUTH_SECRET stable inside one environment so browser sessions remain valid.

Next Steps