mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Update the connection string for beginners (#2095)
Co-authored-by: Christophe CHAUVET <christophe.chauvet@gmail.com>
This commit is contained in:
co-authored by
Christophe CHAUVET
parent
7037d6a981
commit
36a04fec09
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user