8000 GitHub - yuanzhongqiao/highstorm: 开源事件监控
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yuanzhongqiao/highstorm

 
 

Repository files navigation

<div class="markdown-heading" dir="auto"><h1 align="center" tabindex="-1" class="heading-element" dir="auto"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">暴风雨</font></font></h1><a id="user-content-highstorm" class="anchor" aria-label="永久链接:Highstorm" href="#highstorm"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>
<div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">开源事件监控</font></font></h5><a id="user-content-open-source-event-monitoring" class="anchor" aria-label="永久链接:开源事件监控" href="#open-source-event-monitoring"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div>

贡献

感谢您考虑为我们的开源项目做出贡献!我们感谢您的关注,并很高兴您能加入我们。本文档概述了您需要遵循的步骤,以便有效地为项目做出贡献。请仔细阅读指南,如果您有任何问题,请随时与我们联系。

服务

在开始之前,请确保您已设置以下第三方服务:

安装

要安装项目及其依赖项,请按照以下步骤操作:

  1. 确保已pnpm在系统上安装。如果没有,您可以通过运行以下命令进行安装:

    npm install -g pnpm
  2. 运行以下命令安装项目依赖项:

    pnpm install

环境变量

设置所需的服务后,需要在文件中设置相应的环境变量/apps/web/.env。为此,请按照下列步骤操作:

  1. 复制该.env.example文件:
    cp apps/web/.env.example apps/web/.env
  2. 在文本编辑器中打开该/apps/web/.env文件并填充上述服务的值。

数据库准备

棱镜

要准备 Prisma 数据库,请按照以下步骤操作:

  1. 导航到/apps/web目录:
    cd apps/web
  2. 运行以下命令来推送数据库模式并生成 Prisma Client:
    npx prisma db push

小鸟

要准备 Tinybird 数据库,请按照以下步骤操作:

  1. 从这里下载 Tinybird CLI并将其安装到您的系统上。
  2. 通过 Tinybird CLI 进行身份验证后,导航到以下/apps/web/lib/tinybird目录:
    cd apps/web/lib/tinybird
  3. 使用以下命令推送必要的数据源:
    tb push datasources/
    tb push

注意:如果未设置 CLERK_WEBHOOK_SECRET 环境变量,请传递一个空字符串,并确保/onboarding注册后访问。

建造

要构建项目,请执行以下命令:

pnpm build

跑步

要在本地运行项目,请使用以下命令:

pnpm turbo run dev --filter=web

About

开源事件监控

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.4%
  • Other 2.6%
0