Start creating Jobs in 5 minutes in your Remix project.
Need to create a new Remix project to add Trigger.dev to?
create-remix
command in your terminal then continue with this quickstart guide as normal:DEV
SERVER API key.
dev
command allows the Trigger.dev service to send messages to your site. This is required for registering Jobs, triggering them and running tasks. To achieve this it creates a tunnel (using ngrok) so Trigger.dev can send messages to your machine.You should leave the dev
command running when you're developing.In a new terminal window or tab run:--port 3001
to the end.Advanced: Run your Remix server together with the CLI
package.json
to run both the Remix server and the CLI dev
command together.concurrently
package:package.json
file’s dev
script.app/jobs/example.server.(ts/js)
.In there is this Job:'TriggerProvider' not found
remix.config.js
file and add the @trigger.dev/react
package to your list of serverDependenciesToBundle
:
[ERROR] Node builtin "buffer"
remix.config.js
file and add the browserNodeBuiltinsPolyfill
config: