Open fire opened 1 year ago
git clone https://github.com/V-Sekai/godot-mvsqlite.git cargo build --release -p mvsqlite cd mvsqlite-sqlite3 make build-patched-sqlite3
cargo build --release -p mvstore
sudo nano /etc/systemd/system/mvsqlite-mvstore.service
[Unit]
Description=mvsqlite mvstore service
After=systend-user-sessions.service
[Service]
Type=simple
ExecStart=/opt/white-zinc-sparrow/godot-mvsqlite/thirdparty/mvsqlite/target/release/mvstore --data-plane 192.168.0.58:7000 --admin-api 127.0.0.1:7001 --metadata-prefix mvstore --raw-data-prefix m
sudo systemctl edit mvsqlite-mvstore
[Service]
Environment="RUST_LOG=error"
Environment="MVSQLITE_DATA_PLANE=http://localhost:7000"
[Install]
WantedBy=multi-user.target
sudo systemctl enable mvsqlite-mvstore
sudo systemctl enable mvsqlite-mvstore
sudo journalctl -u mvsqlite-mvstore
curl http://localhost:7001/api/create_namespace --include --data {\"key\":\"mvsqlite\"}
export RUST_LOG="info" MVSQLITE_DATA_PLANE="http://192.168.0.58:7000"
./sqlite3 mvsqlite
.tables
Open the port 7000 in the firewall.