Update the connection string for beginners (#2095)

Co-authored-by: Christophe CHAUVET <christophe.chauvet@gmail.com>
This commit is contained in:
Vince Pike
2020-12-12 07:46:46 +00:00
committed by GitHub
co-authored by Christophe CHAUVET
parent 7037d6a981
commit 36a04fec09
+3
View File
@@ -183,6 +183,9 @@ you just have to run the following command:
A database url should meet the following syntax
``<mysql|postgres>://[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.