Create .ini templates so sensitive info is not synced to repo
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,6 +4,8 @@ session_data.json
|
||||
session_cookie.json
|
||||
bank.db
|
||||
log.txt
|
||||
bank.ini
|
||||
app.ini
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
|
||||
11
application/template_app.ini
Normal file
11
application/template_app.ini
Normal 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
23
server/template_bank.ini
Normal 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=
|
||||
Reference in New Issue
Block a user