Skip to content

Commit

Permalink
feat: 🎸 local
Browse files Browse the repository at this point in the history
all local in 60 seconds
  • Loading branch information
StanGirard committed Dec 2, 2023
1 parent b40631a commit 8382dde
Show file tree
Hide file tree
Showing 5 changed files with 967 additions and 79 deletions.
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ CREATE_FIRST_USER=true # set to false if you want to create the first user manua
# login: [email protected]
# password: admin

#LOCAL
#OLLAMA_API_BASE_URL=http://host.docker.internal:11434 # Uncomment to activate ollama. This is the local url for the ollama api




Expand Down Expand Up @@ -39,9 +42,6 @@ GOOGLE_CLOUD_PROJECT=<ignore-me>
CELERY_BROKER_URL=redis://redis:6379/0
CELEBRY_BROKER_QUEUE_NAME=quivr-preview.fifo

#LOCAL
#OLLAMA_API_BASE_URL=http://host.docker.internal:11434 # local all in one remove comment to use local llm with Ollama


#RESEND
RESEND_API_KEY=<change-me>
Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,18 @@ Ensure you have the following installed:


> Want to use [Ollama.ai](https://ollama.ai) instead?
> Finish installing Quivr, put a randon open_api_key in the `.env` file and
> follow the instructions [here](https://brain.quivr.app/docs/Developers/selfHosted/run_fully_local) to update Quivr to use Ollama AFTER you have finished installing Quivr.
> Uncomment the following lines in the `.env` file:
> OLLAMA_API_BASE_URL
> Run the following command to start Ollama: `ollama run llama2`
> You can find more information about Ollama [here](https://ollama.ai/).
- **Step 4**: Launch the project

```bash
docker compose pull
docker compose up --build
```

docker compose up --build # if OPENAI
# docker compose -f docker-compose-ollama.yml up --build # Only if using Ollama. You need to run `ollama run llama2` first.
```

- **Step 5**: Login to the app

Expand Down
Loading

0 comments on commit 8382dde

Please sign in to comment.