Skip to content

Commit 303acf5

Browse files
committed
Update POSTGRES.md to document manual configuration
- Remove GUI configuration option (not yet implemented) - Clarify that Settings.json must be edited manually - Update reverting to SQLite instructions - Specify default Settings.json location
1 parent a3ba378 commit 303acf5

File tree

1 file changed

+10
-22
lines changed

1 file changed

+10
-22
lines changed

POSTGRES.md

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -77,23 +77,7 @@ GRANT ALL PRIVILEGES ON DATABASE gpodder TO gpodder;
7777

7878
## Configuration
7979

80-
### Option 1: GUI Settings (Recommended)
81-
82-
1. Open gPodder
83-
2. Go to Preferences/Settings
84-
3. Navigate to the Database section
85-
4. Set database type to `postgres`
86-
5. Fill in your PostgreSQL connection details:
87-
- Host: `localhost` (or your PostgreSQL server address)
88-
- Port: `5432` (default PostgreSQL port)
89-
- Database: `gpodder`
90-
- User: `gpodder`
91-
- Password: your password
92-
6. Restart gPodder
93-
94-
### Option 2: Manual Configuration
95-
96-
Edit your `Settings.json` file (located in your GPODDER_HOME directory):
80+
Edit your `Settings.json` file (located in your GPODDER_HOME directory, typically `~/.config/gpodder/Settings.json`):
9781

9882
```json
9983
{
@@ -269,13 +253,17 @@ If you see schema version warnings, this means your PostgreSQL database was crea
269253

270254
## Reverting to SQLite
271255

272-
To switch back to SQLite:
256+
To switch back to SQLite, edit your `Settings.json` and change the database type:
273257

274-
1. Open gPodder settings
275-
2. Change database type back to `sqlite`
276-
3. Restart gPodder
258+
```json
259+
{
260+
"database": {
261+
"type": "sqlite"
262+
}
263+
}
264+
```
277265

278-
Your PostgreSQL data will remain untouched in the database.
266+
Then restart gPodder. Your PostgreSQL data will remain untouched in the database.
279267

280268
## Security Considerations
281269

0 commit comments

Comments
 (0)