summaryrefslogtreecommitdiffhomepage
path: root/views
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-05-21 15:24:12 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-05-21 15:24:12 -0400
commit93e4d0d095e3376bcd5e1c2b9e1fd83e8ae9bd6e (patch)
tree9ec37cd7fcd74038e4e1a473220f82613d331a77 /views
parentnix dlang overlay ldc-1.38.0 (diff)
track config examples provided in ./views
Diffstat (limited to 'views')
-rw-r--r--views/configuration.txt_localhost_11
-rw-r--r--views/configuration.txt_remotehost_11
-rw-r--r--views/configuration_example.txt2
3 files changed, 23 insertions, 1 deletions
diff --git a/views/configuration.txt_localhost_ b/views/configuration.txt_localhost_
new file mode 100644
index 0000000..75ec35c
--- /dev/null
+++ b/views/configuration.txt_localhost_
@@ -0,0 +1,11 @@
+/+ obt - org-mode generated file +/
+struct Cfg {
+ string http_request_type = "http";
+ string http_host = "localhost";
+ string www_url_doc_subroot = "/spine";
+ string cgi_filename = "spine_search";
+ string cgi_search_form_title = "≅ SiSU Spine search ፨";
+ string db_sqlite_path = "/var/www/sqlite";
+ string db_sqlite_filename = "spine.search.db";
+}
+enum _cfg = Cfg();
diff --git a/views/configuration.txt_remotehost_ b/views/configuration.txt_remotehost_
new file mode 100644
index 0000000..2eea12d
--- /dev/null
+++ b/views/configuration.txt_remotehost_
@@ -0,0 +1,11 @@
+/+ obt - org-mode generated file +/
+struct Cfg {
+ string http_request_type = "https";
+ string http_host = "sisudoc.org";
+ string www_url_doc_subroot = "/spine";
+ string cgi_filename = "spine_search";
+ string cgi_search_form_title = "≅ SiSU Spine search ፨";
+ string db_sqlite_path = "/var/www/sqlite";
+ string db_sqlite_filename = "spine.search.db";
+}
+enum _cfg = Cfg();
diff --git a/views/configuration_example.txt b/views/configuration_example.txt
index 0d5be00..75ec35c 100644
--- a/views/configuration_example.txt
+++ b/views/configuration_example.txt
@@ -4,7 +4,7 @@ struct Cfg {
string http_host = "localhost";
string www_url_doc_subroot = "/spine";
string cgi_filename = "spine_search";
- string cgi_search_form_title = "≅ SiSU Spine search";
+ string cgi_search_form_title = "≅ SiSU Spine search ፨";
string db_sqlite_path = "/var/www/sqlite";
string db_sqlite_filename = "spine.search.db";
}