mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-06 05:58:35 +08:00
commit
75b48dced3
@ -6,7 +6,7 @@ If you're contributing, note that the process is similar to other open source re
|
|||||||
|
|
||||||
## Running the project locally
|
## Running the project locally
|
||||||
|
|
||||||
First, start by installing dependencies
|
First, start by installing dependencies:
|
||||||
|
|
||||||
1. node.js [instructions](https://nodejs.org/en/learn/getting-started/how-to-install-nodejs)
|
1. node.js [instructions](https://nodejs.org/en/learn/getting-started/how-to-install-nodejs)
|
||||||
2. pnpm [instructions](https://pnpm.io/installation)
|
2. pnpm [instructions](https://pnpm.io/installation)
|
||||||
@ -56,12 +56,13 @@ POSTHOG_HOST= # set if you'd like to send posthog events like job logs
|
|||||||
First, install the dependencies using pnpm.
|
First, install the dependencies using pnpm.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pnpm install
|
# cd apps/api # to make sure you're in the right folder
|
||||||
|
pnpm install # make sure you have pnpm version 9+!
|
||||||
```
|
```
|
||||||
|
|
||||||
### Running the project
|
### Running the project
|
||||||
|
|
||||||
You're going to need to open 3 terminals.
|
You're going to need to open 3 terminals. Here is [a video guide accurate as of Oct 2024](https://youtu.be/LHqg5QNI4UY).
|
||||||
|
|
||||||
### Terminal 1 - setting up redis
|
### Terminal 1 - setting up redis
|
||||||
|
|
||||||
@ -77,6 +78,7 @@ Now, navigate to the apps/api/ directory and run:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
pnpm run workers
|
pnpm run workers
|
||||||
|
# if you are going to use the [llm-extract feature](https://github.com/mendableai/firecrawl/pull/586/), you should also export OPENAI_API_KEY=sk-______
|
||||||
```
|
```
|
||||||
|
|
||||||
This will start the workers who are responsible for processing crawl jobs.
|
This will start the workers who are responsible for processing crawl jobs.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user