Create .ini templates so sensitive info is not synced to repo

This commit is contained in:
Lucas Mathews
2024-06-08 10:46:57 +02:00
parent 6d4627da22
commit 78e1257bbb
3 changed files with 36 additions and 0 deletions

2
.gitignore vendored
View File

@@ -4,6 +4,8 @@ session_data.json
session_cookie.json
bank.db
log.txt
bank.ini
app.ini
# Byte-compiled / optimized / DLL files
__pycache__/

View File

@@ -0,0 +1,11 @@
[server]
url = http://0.0.0.0:81
[preferences]
dark_theme = dark
theme = dark-blue
[client]
default_id =
default_password =

23
server/template_bank.ini Normal file
View File

@@ -0,0 +1,23 @@
[database]
name=bank.db
[api_file]
name=api.yml
[server]
debug=False
scheduler=True
[api]
url=http://0.0.0.0:81/
[sessions]
secret_key=
[smtp]
host=
port=
username=
password=
sender_name=Luxbank
sender_email=