X-Git-Url: http://git.datanom.net/securemail.git/blobdiff_plain/7ef0042650fe0a5e12373fd6ef438f138afe65b2..5bc1fc471eb0a72f4420b9189c990026e570d52a:/app/backend/config.py diff --git a/app/backend/config.py b/app/backend/config.py new file mode 100644 index 0000000..bd71642 --- /dev/null +++ b/app/backend/config.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2018 Michael Rasmussen + +# This file is part of SecureMail. + +# SecureMail is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# SecureMail is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with SecureMail. If not, see . + +###### REQUIREMENTS ####### +# python3-nacl # +# python3-mysqldb # +# python3-psycopg2 # +# python3-apsw # +# mysql, postgresql or sqlite # +############################### + +#DBTYPE = "mysql" +#DBHOST = "localhost" # default value +#DBPORT = 3306 # default value +#DBTYPE = "postgresql" +#DBHOST = "localhost" # default value +#DBPORT = 5432 # default value +DBTYPE = "sqlite" +#DBUID = "backend" # default value +#DBPWD = "clV77B2ZJQxr" # default value +DBNAME = "securemail" # if DBTYPE is sqlite: ./DBNAME + .db