Update CONTRIBUTING.md
This commit is contained in:
parent
30a8482a68
commit
2f29a4da8e
@ -1,12 +1,12 @@
|
|||||||
|
|
||||||
# Contributors guide:
|
# Contributors guide:
|
||||||
|
|
||||||
Welcome to firecrawl 🔥! Here are some instructions on how to get the project locally, so you can run it on your own (and contribute)
|
Welcome to [Firecrawl](https://firecrawl.dev) 🔥! Here are some instructions on how to get the project locally, so you can run it on your own (and contribute)
|
||||||
|
|
||||||
If you're contributing, note that the process is similar to other open source repos i.e. (fork firecrawl, make changes, run tests, PR). If you have any questions, and would like help gettin on board, reach out to hello@mendable.ai for more or submit an issue!
|
If you're contributing, note that the process is similar to other open source repos i.e. (fork firecrawl, make changes, run tests, PR). If you have any questions, and would like help gettin on board, reach out to hello@mendable.ai for more or submit an issue!
|
||||||
|
|
||||||
|
|
||||||
## Hosting 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)
|
||||||
@ -46,6 +46,16 @@ LLAMAPARSE_API_KEY= #Set if you have a llamaparse key you'd like to use to parse
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Installing dependencies
|
||||||
|
|
||||||
|
First, install the dependencies using pnpm.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm install
|
||||||
|
```
|
||||||
|
|
||||||
|
### Running the project
|
||||||
|
|
||||||
You're going to need to open 3 terminals.
|
You're going to need to open 3 terminals.
|
||||||
|
|
||||||
### Terminal 1 - setting up redis
|
### Terminal 1 - setting up redis
|
||||||
@ -90,7 +100,8 @@ curl -X POST http://localhost:3002/v0/crawl \
|
|||||||
|
|
||||||
## Tests:
|
## Tests:
|
||||||
|
|
||||||
The best way to do this is run the test with npx:Once again, navigate to the `apps/api` directory`npx jest`
|
The best way to do this is run the test with `npm run test:local-no-auth` if you'd like to run the tests without authentication.
|
||||||
|
|
||||||
|
If you'd like to run the tests with authentication, run `npm run test:prod`
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user