Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (19 loc) · 1.28 KB

README.md

File metadata and controls

31 lines (19 loc) · 1.28 KB

Cantera Papers

This repository hosts the code for the Cantera papers application.

papers ingests DOIs of user-submitted papers where they used Cantera and produces a nicely formatted page listing each paper.

pre-commit.ci status

Dependency Management

We use conda-lock for dependency management. To update a dependency, edit environment.yml for dependencies of the main application, or dev-environment.yml for dependencies required to develop the application. After updating one of the files, run:

conda-lock lock -f environment.yml -f dev-environment.yml --mamba

This updates the conda-lock.yml file. Then run:

conda-lock install --name <your-environment-name> --mamba

Running the app locally

The app code is located in the app folder. To run the application, install the dependencies as above. Then start uvicorn from the root of the repository (not the app folder):

uvicorn app.main:app --reload

This runs the app object in the app.main module. The --reload flag causes uvicorn to watch the files in the app package and restart the server when changes are made.