| title | Astro Quick Start |
|---|---|
| sidebarTitle | Astro |
| description | Start creating Jobs in 5 minutes in your Astro project. |
This quick start guide will get you up and running with Trigger.dev.
No problem, create a blank project by running the `create-astro` command in your terminal then continue with this quickstart guide as normal:npx create-astro@latest- Install the
concurrentlypackage:
npm install concurrently --save-devpnpm install concurrently --save-devyarn add concurrently --dev- Modify your
package.jsonfile'sdevscript.
//...
"scripts": {
"dev": "concurrently --kill-others npm:dev:*",
//your normal astro dev command would go here
"dev:astro": "astro dev",
"dev:trigger": "npx @trigger.dev/cli dev",
//...
}
//...The CLI init command created a simple Job for you. There will be a new file src/jobs/example.(ts/js).
In there is this Job:
If you navigate to your Trigger.dev project you will see this Job in the "Jobs" section:
