d2477b2a67e5e5e774d68cb7136c5de69e272552
trigger.dev
Development
Warning
All the following commands should be launched from the monorepo root directory
-
Install the dependencies.
pnpm install -
Environment variables. You will need to create copies of the
.env.examplefiles inapp/webappcp ./apps/webapp/.env.example ./apps/webapp/.env -
Start postgresql, pulsar, and the pizzly server
pnpm run docker:dbNote: The npm script will complete while Docker sets up the container in the background. Ensure that Docker has finished and your container is running before proceeding.
-
Generate prisma schema
pnpm run generate -
Run the Prisma migration to the database
pnpm run db:migrate:deploy -
Run the first build (with dependencies via the
...option)pnpm run build --filter=webapp...Running simply
pnpm run buildwill build everything, including the NextJS app. -
Run the Remix dev server
pnpm run dev --filter=webapp
Tests, Typechecks, Lint, Install packages...
Check the turbo.json file to see the available pipelines.
- Run the Cypress tests and Dev
pnpm run test:e2e:dev --filter=webapp - Lint everything
pnpm run lint - Typecheck the whole monorepo
pnpm run typecheck - Test the whole monorepo
pnpm run test or pnpm run test:dev - How to install an npm package in the Remix app ?
pnpm add dayjs --filter webapp - Tweak the tsconfigs, eslint configs in the
config-packagefolder. Any package or app will then extend from these configs.
Description
Trigger.dev 支持构建和部署完全托管的 AI Agent 与工作流。|GitHub 镜像 ⭐ 16.1k · 🍴 1.4k
https://github.com/triggerdotdev/trigger.dev
Readme
Apache-2.0
189 MiB
Languages
TypeScript
99%
JavaScript
0.4%
Shell
0.2%
CSS
0.1%