From 36a04fec0929938d723ec34430c862cc91f5c54a Mon Sep 17 00:00:00 2001 From: Vince Pike Date: Sat, 12 Dec 2020 02:46:46 -0500 Subject: [PATCH] Update the connection string for beginners (#2095) Co-authored-by: Christophe CHAUVET --- doc/manual_installation/modoboa.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/manual_installation/modoboa.rst b/doc/manual_installation/modoboa.rst index 90ba53228..1dfe0f6e6 100644 --- a/doc/manual_installation/modoboa.rst +++ b/doc/manual_installation/modoboa.rst @@ -183,6 +183,9 @@ you just have to run the following command: A database url should meet the following syntax ``://[user:pass@][host:port]/dbname`` **OR** ``sqlite:////full/path/to/your/database/file.sqlite``. + + Fox example, if you were using postgres, you could setup your command like this: + ``modoboa-admin.py deploy instance_name --collectstatic --domain example.com --dburl default:postgres://user:pass@[localhost]/modoboa`` The command will ask you a few questions, answer them and you're done.