From 5ab316e9da20a1e40265023631b99a5d821efed8 Mon Sep 17 00:00:00 2001 From: N07070 Date: Sun, 27 Dec 2020 21:31:02 +0100 Subject: [PATCH] Added configuration files --- configuration/config.toml | 14 ++++++++++++++ configuration/config.toml.sample | 15 +++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 configuration/config.toml create mode 100644 configuration/config.toml.sample diff --git a/configuration/config.toml b/configuration/config.toml new file mode 100644 index 0000000..c02b0ad --- /dev/null +++ b/configuration/config.toml @@ -0,0 +1,14 @@ +# Configuration file the LittlePrynter + +# Printer settings +[printer] +vendor_id = 0x04b8 +device_id = 0x0e28 + +# Users = Password +[users] +admin = "admin" + +# Secrets for flask +[secrets] +flask_secret_key = "ChÕÓhÑLa)Ù<î=F;ÑÊÝ5fV÷}º35+FâXg£Ì;Ñ58ëȤ^ìãtzº<$úÌ¢ü>A¡ÿ:--_Uc²æmÇ)ëÛòöéZ¥÷Z¯¦`,ç¶B°>Å:Zÿ¼Á@ªu-º´¬XäwYÃ`c>YÜYÏJ${_f{MJ[ÙkNzg_WZv" diff --git a/configuration/config.toml.sample b/configuration/config.toml.sample new file mode 100644 index 0000000..a7cdfd7 --- /dev/null +++ b/configuration/config.toml.sample @@ -0,0 +1,15 @@ +# Configuration file the LittlePrynter + +# Printer settings +[printer] +vendor_id = "0x04b8" +device_id = "0x0e28" + +# Users = Password +[users] +admin = "admin" + +# Secrets for flask +# See "How to generate good secret keys" in https://flask.palletsprojects.com/en/1.1.x/quickstart/ +[secrets] +flask_secret_key = "random string to do things"