diff --git a/README.md b/README.md index a70e100..0816c80 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,26 @@ For advanced media conversion: By default, media files are uploaded to the ```storage``` folder. The database is stored in ```database.sqlite``` by default. +# Other databases (Not officially supported) + +## Postgres + +Add the [pg](https://www.npmjs.com/package/pg) module and change the config/default.json to + +``` +"storage_dialect": "postgres", +``` + +Adapt the other values as needed + +``` +"storage_host": "localhost", +"storage_database": "spacedeck", +"storage_username": "username", +"storage_password": "password", +``` + + # Run with Docker - configure `config/default.json` diff --git a/package.json b/package.json index 5e44408..d53987b 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ "node-phantom-simple": "2.2.4", "node-server-screenshot": "^0.2.1", "nodemailer": "^4.6.7", - "pg": "^8.5.1", "phantomjs-prebuilt": "^2.1.16", "read-chunk": "^2.1.0", "request": "^2.88.0",