diff --git a/.gitignore b/.gitignore index 19dea73b..020ec7c4 100644 --- a/.gitignore +++ b/.gitignore @@ -162,4 +162,5 @@ cython_debug/ #.idea/ Crawl4AI.egg-info/ -Crawl4AI.egg-info/* \ No newline at end of file +Crawl4AI.egg-info/* +crawler_data.db \ No newline at end of file diff --git a/README.md b/README.md index 59a3f519..5df922ce 100644 --- a/README.md +++ b/README.md @@ -55,10 +55,7 @@ git clone https://github.com/unclecode/crawl4ai.git cd crawl4ai ``` -3. Create a `.env` file in the root folder and set your Groq API token: -``` -GROQ_API_TOKEN=your_groq_api_token -``` +3. Open `crawler/config.py` and set your favorite LLM provider and API token: 4. Build the Docker image: ``` @@ -71,7 +68,7 @@ docker build --platform linux/amd64 -t crawl4ai . 5. Run the Docker container: ``` -docker run -p 8000:80 crawl4ai +docker run -d -p 8000:80 crawl4ai ``` 6. Access the application at `http://localhost:8000`. diff --git a/pages/index.html b/pages/index.html index 4ab0406a..8f2c8caa 100644 --- a/pages/index.html +++ b/pages/index.html @@ -196,23 +196,7 @@
- To install and run Crawl4AI locally or on your own service, the best way is to use Docker. 🐳 Follow - these steps: -
-git clone https://github.com/unclecode/crawl4ai.git
- cd crawl4aidocker build -t crawl4ai . On Mac, follow: 🍎
- docker build --platform linux/amd64 -t crawl4ai .
- docker run -p 8000:80 crawl4ai- For more detailed instructions and advanced configuration options, please refer to the 📚 + To install and run Crawl4AI as a library or a local server, please refer to the 📚 GitHub repository.