From 93e4d0d095e3376bcd5e1c2b9e1fd83e8ae9bd6e Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 21 May 2024 15:24:12 -0400 Subject: track config examples provided in ./views --- views/configuration.txt_localhost_ | 11 +++++++++++ views/configuration.txt_remotehost_ | 11 +++++++++++ views/configuration_example.txt | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 views/configuration.txt_localhost_ create mode 100644 views/configuration.txt_remotehost_ (limited to 'views') 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"; } -- cgit v1.2.3