diff --git a/404.html b/404.html index 6afbbf13..aeb47b2f 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@
To use OpenRAG on Windows, use WSL (Windows Subsystem for Linux).
To set up a project and install OpenRAG as a dependency, do the following:
-Choose an installation method based on your needs:
+uvx to run OpenRAG without creating a project or modifying files.uv add to install OpenRAG as a managed dependency in a new or existing Python project.uv pip install to install OpenRAG into an existing virtual environment.The script detects and installs uv, Docker/Podman, and Docker Compose prerequisites, then runs OpenRAG with uvx.
Create a new project with a virtual environment using uv init.
Create a directory to store the OpenRAG configuration files:
+mkdir openrag-workspace
cd openrag-workspace
Run the installer:
+curl -fsSL https://docs.openr.ag/files/run_openrag_with_prereqs.sh | bash
The TUI creates a .env file and docker-compose files in the current working directory.
Use uvx to quickly run OpenRAG without creating a project or modifying any files.
Create a directory to store the OpenRAG configuration files:
+mkdir openrag-workspace
cd openrag-workspace
Run OpenRAG:
+uvx openrag
To run a specific version:
+uvx --from openrag==0.1.30 openrag
The TUI creates a .env file and docker-compose files in the current working directory.
Use uv add to install OpenRAG as a dependency in your Python project. This adds OpenRAG to your pyproject.toml and lockfile, making your installation reproducible and version-controlled.
Create a new project with a virtual environment:
uv init YOUR_PROJECT_NAME
cd YOUR_PROJECT_NAME
The (venv) prompt doesn't change, but uv commands will automatically use the project's virtual environment.
-For more information on virtual environments, see the uv documentation.
The (venv) prompt doesn't change, but uv commands will automatically use the project's virtual environment.
Add OpenRAG to your project.
+Add OpenRAG to your project:
uv add openrag
To add a specific version of OpenRAG:
-uv add openrag==0.1.25
To add a specific version:
+uv add openrag==0.1.30
Start the OpenRAG TUI.
+Start the OpenRAG TUI:
uv run openrag
If you downloaded the OpenRAG wheel to your local machine, follow these steps:
If you downloaded the OpenRAG wheel to your local machine, install it by specifying its path:
Add the wheel to your project's virtual environment.
+Add the wheel to your project:
uv add PATH/TO/openrag-VERSION-py3-none-any.whl
Replace PATH/TO/ and VERSION with the path and version of your downloaded OpenRAG .whl file.
For example, if your .whl file is in the ~/Downloads directory:
uv add ~/Downloads/openrag-0.1.8-py3-none-any.whl
Run OpenRAG.
+Run OpenRAG:
uv run openrag
Use uv pip install to install OpenRAG into an existing virtual environment that isn't managed by uv.
For new projects, uv add is recommended as it manages dependencies in your project's lockfile.
Activate your virtual environment.
Continue with Set up OpenRAG with the TUI.
+Install OpenRAG:
+uv pip install openrag
Run OpenRAG:
+openrag
Continue with Set up OpenRAG with the TUI.
The TUI creates a .env file in your OpenRAG directory root and starts OpenRAG.
If the TUI detects a .env file in the OpenRAG root directory, it sources any variables from the .env file.
@@ -248,7 +280,7 @@ If you delete the .env file, run the Set