From 8a6776fd516f54f5e6bf03c5459725923ea8dbd4 Mon Sep 17 00:00:00 2001 From: hackish Date: Wed, 13 Sep 2023 13:07:09 -0700 Subject: [PATCH] * feat(.gitignore): add development.sqlite to ignore list * feat(config.py): add configuration for SQLite database --- .gitignore | 5 ++++- mxroute_relay/config.py | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 mxroute_relay/config.py diff --git a/.gitignore b/.gitignore index ce311d5..cea4d82 100644 --- a/.gitignore +++ b/.gitignore @@ -167,7 +167,8 @@ cython_debug/ .LSOverride # Icon must end with two \r -Icon +Icon + # Thumbnails ._* @@ -203,3 +204,5 @@ Temporary Items # .nfs files are created when an open file is removed but is still being accessed .nfs* +# MXRoute_Relay-specific local SQLite database for development +development.sqlite diff --git a/mxroute_relay/config.py b/mxroute_relay/config.py new file mode 100644 index 0000000..ee15607 --- /dev/null +++ b/mxroute_relay/config.py @@ -0,0 +1,2 @@ +DATABASE_FILE = "development.sqlite" +ENGINE_URI = "sqlite:///" + DATABASE_FILE