mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-30 13:24:22 +01:00
added docs on building for Linux (Ubuntu 24.04.2 LTS)
This commit is contained in:
@@ -28,7 +28,33 @@ cargo run --package limbo_cli --bin limbo database.db
|
||||
```
|
||||
|
||||
Run tests:
|
||||
```console
|
||||
cargo test
|
||||
```
|
||||
|
||||
### Running Tests On Linux
|
||||
> [!NOTE]
|
||||
> These steps have been tested on Ubuntu Noble 24.04.2 LTS
|
||||
|
||||
Running tests on Linux and getting them pass requires a few additional steps
|
||||
|
||||
1. Install [SQLite](https://www.sqlite.org/index.html)
|
||||
```console
|
||||
sudo apt install sqlite3 libsqlite3-dev
|
||||
```
|
||||
2. Build Cargo
|
||||
```console
|
||||
cargo build -p limbo_sqlite3 --features capi
|
||||
```
|
||||
3. Install Python3
|
||||
```console
|
||||
sudo apt install python3.12 python3.12-dev
|
||||
```
|
||||
4. Set env var for Maturin
|
||||
```console
|
||||
export PYO3_PYTHON=$(which python3)
|
||||
```
|
||||
5. Run tests
|
||||
```console
|
||||
cargo test
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user