Skip to content

Commit dd1d6f6

Browse files
authored
Move SQLite note to correct part of docs (#1093)
This was added under the UI setup steps by mistake.
1 parent bf2a568 commit dd1d6f6

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

docs/development.md

+12-13
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@ from potential AI-related security risks. Key features include:
2626
deployment)
2727
- [Visual Studio Code](https://code.visualstudio.com/download) (recommended IDE)
2828

29+
Note that if you are using pyenv on macOS, you will need a Python build linked
30+
against sqlite installed from Homebrew. macOS ships with sqlite, but it lacks
31+
some required functionality needed in the project. This can be accomplished with:
32+
33+
```
34+
# substitute for your version of choice
35+
PYTHON_VERSION=3.12.9
36+
brew install sqlite
37+
LDFLAGS="-L$(brew --prefix sqlite)/lib" CPPFLAGS="-I$(brew --prefix sqlite)/include" PYTHON_CONFIGURE_OPTS="--enable-loadable-sqlite-extensions" pyenv install -v $PYTHON_VERSION
38+
poetry env use $PYTHON_VERSION
39+
```
40+
2941
### Initial setup
3042

3143
1. Clone the repository:
@@ -59,19 +71,6 @@ To install all dependencies for your local development environment, run
5971
npm install
6072
```
6173

62-
Note that if you are running some processes (specifically the package import
63-
script) on macOS, you will need a Python build linked against sqlite installed
64-
from Homebrew. macOS ships with sqlite, but it lacks some required
65-
functionality. This can be accomplished with:
66-
67-
```
68-
# substitute for your version of choice
69-
PYTHON_VERSION=3.12.9
70-
brew install sqlite
71-
LDFLAGS="-L$(brew --prefix sqlite)/lib" CPPFLAGS="-I$(brew --prefix sqlite)/include" PYTHON_CONFIGURE_OPTS="--enable-loadable-sqlite-extensions" pyenv install -v $PYTHON_VERSION
72-
poetry env use $PYTHON_VERSION
73-
```
74-
7574
### Running the development server
7675

7776
Run the development server using:

0 commit comments

Comments
 (0)