aboutsummaryrefslogtreecommitdiff
path: root/stackbin.conf.dev
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-03-17 19:29:19 +0000
committerB. Stack <bgstack15@gmail.com>2022-03-17 19:29:19 +0000
commit80d5c19cdc6aea03cc9f2fef53abbe72104518fa (patch)
tree0e03b97b802e437d05321e8c43a82267d6ec55e4 /stackbin.conf.dev
parentadd username support for user admin (diff)
parentv0.0.2: add curl support (diff)
downloadstackbin-80d5c19cdc6aea03cc9f2fef53abbe72104518fa.tar.gz
stackbin-80d5c19cdc6aea03cc9f2fef53abbe72104518fa.tar.bz2
stackbin-80d5c19cdc6aea03cc9f2fef53abbe72104518fa.zip
Merge branch 'dev' into 'master'
v0.0.2: add curl support Closes #1 See merge request bgstack15/stackbin!1
Diffstat (limited to 'stackbin.conf.dev')
-rw-r--r--stackbin.conf.dev28
1 files changed, 28 insertions, 0 deletions
diff --git a/stackbin.conf.dev b/stackbin.conf.dev
new file mode 100644
index 0000000..e2fa21f
--- /dev/null
+++ b/stackbin.conf.dev
@@ -0,0 +1,28 @@
+DEBUG=True
+SQLALCHEMY_DATABASE_URI='sqlite:///stackbin.db'
+SQLALCHEMY_TRACK_MODIFICATIONS = False
+SECRET_KEY='development-key'
+SALT='jackson'
+DELETESALT='differentstring'
+APPNAME='stackbin'
+# LOOP_DELAY in seconds is how many seconds between running the expiration cleanup task
+LOOP_DELAY = 60 * 5
+
+# Disable this variable entirely, to disable any choices for expiration
+# Any very simple expression for relative time can be used here. This will be processed by pyparsedate.
+EXPIRATION_OPTIONS = [
+ "never",
+ "1 day",
+ "1 hour",
+ "15 minutes"
+]
+
+#TEMPLATE_FOLDER = "/usr/share/stackbin/templates"
+#STATIC_FOLDER = "/usr/share/stackbin/static"
+
+# If you turn these off, the admin panel is entirely disabled.
+ADMIN_USERNAME = 'admin'
+ADMIN_PASSWORD = 'fluffycat10'
+
+# Because the app generates the url entirely from scratch for a curl POST, the protocol can get lost, so you can force https if you define this variable.
+CURL_RESPONSE_PROTOCOL = "https"
bgstack15