docs: add conda installation instructions to README (#446)
* docs: add conda installation instructions to README docs: add conda installation instructions to README * docs: add conda environment setup as an alternative to uv docs: add conda environment setup as an alternative to uv
This commit is contained in:
parent
809a1d0741
commit
9c61ffef9a
2 changed files with 19 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ Choose your installation method:
|
||||||
- Requires: Python 3.11+, Node.js 18+, Docker, uv
|
- Requires: Python 3.11+, Node.js 18+, Docker, uv
|
||||||
|
|
||||||
**Quick Start:**
|
**Quick Start:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/lfnovo/open-notebook.git
|
git clone https://github.com/lfnovo/open-notebook.git
|
||||||
uv sync
|
uv sync
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,24 @@ uv sync
|
||||||
uv pip install python-magic
|
uv pip install python-magic
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### 2.1 Alternative: Conda Setup (Optional)
|
||||||
|
|
||||||
|
If you prefer using **Conda** to manage your environments, follow these steps instead of the standard `uv sync`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Create and activate the environment
|
||||||
|
conda create -n open-notebook python=3.11 -y
|
||||||
|
conda activate open-notebook
|
||||||
|
|
||||||
|
# Install uv inside conda to maintain compatibility with the Makefile
|
||||||
|
conda install -c conda-forge uv nodejs -y
|
||||||
|
|
||||||
|
# Sync dependencies
|
||||||
|
uv sync
|
||||||
|
```
|
||||||
|
|
||||||
|
> **Note**: Installing `uv` inside your Conda environment ensures that commands like `make start-all` and `make api` continue to work seamlessly.
|
||||||
|
|
||||||
### 3. Start SurrealDB
|
### 3. Start SurrealDB
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue