Skip to content

Commit 0fffacc

Browse files
committed
Copy improvements
1 parent 321ee5d commit 0fffacc

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

python-crawl4ai/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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

1313
1. 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`
1615
3. 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`
1917
5. 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).
2119
7. Test the task in the dashboard
2220
8. Deploy the task to production using the CLI command `npx trigger.dev@latest deploy`
2321

python-crawl4ai/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
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",

0 commit comments

Comments
 (0)