File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,20 +4,18 @@ This demo showcases how to use Trigger.dev with Python to build a web crawler th
44
55## Features
66
7- - Trigger.dev for background task orchestration
7+ - [ Trigger.dev] ( https://trigger.dev ) for background task orchestration
88- [ Crawl4AI] ( https://github.com/unclecode/crawl4ai ) , an open source LLM friendly web crawler
99- [ Playwright] ( https://playwright.dev/ ) to create a headless chromium browser
1010
1111## Getting Started
1212
13131 . After cloning the repo, run ` npm install ` to install the dependencies.
14- 2 . Create a virtual environment` python -m venv venv `
15-
14+ 2 . Create a virtual environment ` python -m venv venv `
16153 . Activate the virtual environment, depending on your OS: On Mac/Linux: ` source venv/bin/activate ` , on Windows: ` venv\Scripts\activate `
17-
18- 4 . Install the dependencies ` pip install -r requirements.txt `
16+ 4 . Install the Python dependencies ` pip install -r requirements.txt `
19175 . Copy the project ref from your [ Trigger.dev dashboard] ( https://cloud.trigger.dev ) and and add it to the ` trigger.config.ts ` file.
20- 6 . Run the Trigger.dev dev CLI command with with ` npm exec trigger dev` (it may ask you to authorize the CLI if you haven't already).
18+ 6 . Run the Trigger.dev dev CLI command with with ` npx trigger dev@latest dev` (it may ask you to authorize the CLI if you haven't already).
21197 . Test the task in the dashboard
22208 . Deploy the task to production using the CLI command ` npx trigger.dev@latest deploy `
2321
Original file line number Diff line number Diff line change 88 },
99 "dependencies" : {
1010 "@trigger.dev/python" : " ^3.3.17" ,
11- "@trigger.dev/sdk" : " ^3.3.17" ,
12- "zod" : " 3.23.8"
11+ "@trigger.dev/sdk" : " ^3.3.17"
1312 },
1413 "devDependencies" : {
1514 "@trigger.dev/build" : " ^3.3.17" ,
You can’t perform that action at this time.
0 commit comments