From 4d9db2a52cbd3dca440e633825d463816310a024 Mon Sep 17 00:00:00 2001 From: pablorevilla-meshtastic Date: Thu, 15 Jan 2026 11:49:25 -0800 Subject: [PATCH] Update instructions --- README.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 7aa408b..6f3dbc4 100644 --- a/README.md +++ b/README.md @@ -285,18 +285,6 @@ password = large4cats # postgresql+asyncpg://user:pass@host:5432/meshview connection_string = sqlite+aiosqlite:///packets.db -> **NOTE (PostgreSQL setup)** -> If you want to use PostgreSQL instead of SQLite: -> -> 1) Install PostgreSQL for your OS. -> 2) Create a user and database: -> - `CREATE USER meshview WITH PASSWORD 'change_me';` -> - `CREATE DATABASE meshview OWNER meshview;` -> 3) Update `config.ini`: -> - `connection_string = postgresql+asyncpg://meshview:change_me@localhost:5432/meshview` -> 4) Initialize the schema: -> - `./env/bin/python startdb.py` - # ------------------------- # Database Cleanup Configuration @@ -328,6 +316,17 @@ db_cleanup_logfile = dbcleanup.log --- +## NOTE (PostgreSQL setup)** +If you want to use PostgreSQL instead of SQLite: + +Install PostgreSQL for your OS. +Create a user and database: +`CREATE USER meshview WITH PASSWORD 'change_me';` +`CREATE DATABASE meshview OWNER meshview;` +Update `config.ini` example: +`connection_string = postgresql+asyncpg://meshview:change_me@localhost:5432/meshview` + + ## Running Meshview Start the database manager: