Other

项目介绍

peaklims/PeakLimsApi 是一个托管在 GitHub 上的开源项目,主要使用 C# 编写,采用 Other 许可证,目前获得 72 个 Star、13 次 Fork。

仓库全名
peaklims/PeakLimsApi
开源许可证
Other
Star 数
72
Fork 数
13

README 摘要

PeakLimsApi Getting Started 1. Run docker-compose up --build from your .sln directory to spin up your database(s) and other supporting infrastructure depending on your configuration (e.g. RabbitMQ, Keycloak, Jaeger, etc.). 2. Setup the Keycloak auth server with Pulumi: 1. Install the pulumi CLI 1. cd to your scaffolded Pulumi project 1. Run pulumi login --local to use Pulumi locally 1. Run pulumi up to start the…

完整内容见 GitHub 原始 README 或本页 。

常见问题

PeakLimsApi 用什么语言开发?

主要使用 C# 编写,采用 Other 许可证,目前有 72 个 Star。

PeakLimsApi 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 PeakLimsApi 的源码?

可以直接克隆仓库:git clone https://github.com/peaklims/PeakLimsApi.git,默认分支为 main;安装与运行步骤见仓库 README。

PeakLimsApi 最近还在维护吗?

仓库最近一次更新为 7月23日,当前没有未关闭的 Issue;Star 数为 72,可作为社区活跃度的参考。

关于

🧬 Source-available fair-code licensed LIMS. The laboratory software you'll enjoy using.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

README

PeakLimsApi

Getting Started

  1. Run docker-compose up --build from your .sln directory to spin up your database(s) and other supporting infrastructure depending on your configuration (e.g. RabbitMQ, Keycloak, Jaeger, etc.).
  2. Setup the Keycloak auth server with Pulumi:
    1. Install the pulumi CLI
    2. cd to your scaffolded Pulumi project
    3. Run pulumi login --local to use Pulumi locally
    4. Run pulumi up to start the scaffolding process

      Note: The stack name must match the extension on your yaml config file (e.g. Pulumi.dev.yaml) would have a stack of dev.

    5. Select yes to apply the configuration to your local Keycloak instance.

      If you want to reset your pulumi configuration, run pulumi destroy to remove all the resources and then pulumi up again to start fresh.

  3. If running a BFF:
    1. Make sure you have pnpm installed
    2. Run the project with dotnet run or your IDE
  4. If you want to use the corresponding UI, clone down the UI repo and follow the instructions in the README.

Running Your Project(s)

Once you have your database(s) running, you can run your API(s), BFF, and Auth Server by using the dotnet run command or running your projects from your IDE of choice.

Migrations

Migrations should be applied for you automatically on startup, but if you have any any issues, you can do the following: 1. Make sure you have a migrations in your boundary project (there should be a Migrations directory in the project directory). If there isn’t see Running Migrations below. 2. Confirm your environment (ASPNETCORE_ENVIRONMENT) is set to Development using $Env:ASPNETCORE_ENVIRONMENT = "Development" for powershell or export ASPNETCORE_ENVIRONMENT=Development for bash. 3. cd to the boundary project root (e.g. cd PeakLims/src/PeakLims) 4. Run your project and your migrations should be applied automatically. Alternatively, you can run dotnet ef database update to apply your migrations manually.

> You can also stay in the `sln` root and run something like `dotnet ef database update --project PeakLims/src/PeakLims`

Running Integration Tests

To run integration tests:

  1. Ensure that you have docker installed.
  2. Go to your src directory for the bounded context that you want to test.
  3. Confirm that you have migrations in your infrastructure project. If you need to add them, see the instructions below.
  4. Run the tests

⏳ If you don’t have the database image pulled down to your machine, they will take some time on the first run.

评论

暂无评论