Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Move SQLite note to correct part of docs #1093

Merged
merged 1 commit into from
Feb 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ from potential AI-related security risks. Key features include:
deployment)
- [Visual Studio Code](https://code.visualstudio.com/download) (recommended IDE)

Note that if you are using pyenv on macOS, you will need a Python build linked
against sqlite installed from Homebrew. macOS ships with sqlite, but it lacks
some required functionality needed in the project. This can be accomplished with:

```
# substitute for your version of choice
PYTHON_VERSION=3.12.9
brew install sqlite
LDFLAGS="-L$(brew --prefix sqlite)/lib" CPPFLAGS="-I$(brew --prefix sqlite)/include" PYTHON_CONFIGURE_OPTS="--enable-loadable-sqlite-extensions" pyenv install -v $PYTHON_VERSION
poetry env use $PYTHON_VERSION
```

### Initial setup

1. Clone the repository:
Expand Down Expand Up @@ -59,19 +71,6 @@ To install all dependencies for your local development environment, run
npm install
```

Note that if you are running some processes (specifically the package import
script) on macOS, you will need a Python build linked against sqlite installed
from Homebrew. macOS ships with sqlite, but it lacks some required
functionality. This can be accomplished with:

```
# substitute for your version of choice
PYTHON_VERSION=3.12.9
brew install sqlite
LDFLAGS="-L$(brew --prefix sqlite)/lib" CPPFLAGS="-I$(brew --prefix sqlite)/include" PYTHON_CONFIGURE_OPTS="--enable-loadable-sqlite-extensions" pyenv install -v $PYTHON_VERSION
poetry env use $PYTHON_VERSION
```

### Running the development server

Run the development server using:
Expand Down