From e37589f5f5253d81c62f8846dbf721c23fe48d44 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 7 Oct 2021 20:39:57 -0400 Subject: configuration, hierarchy filenames & paths ... --- sundry/spine_search_cgi/shell.nix | 38 ++++++++++------------ .../views/configuration_example.txt | 13 ++++++++ .../views/configuration_suggested.txt | 13 -------- 3 files changed, 31 insertions(+), 33 deletions(-) create mode 100644 sundry/spine_search_cgi/views/configuration_example.txt delete mode 100644 sundry/spine_search_cgi/views/configuration_suggested.txt (limited to 'sundry/spine_search_cgi') diff --git a/sundry/spine_search_cgi/shell.nix b/sundry/spine_search_cgi/shell.nix index 5926e62..55ca4ae 100755 --- a/sundry/spine_search_cgi/shell.nix +++ b/sundry/spine_search_cgi/shell.nix @@ -1,26 +1,24 @@ #!/usr/bin/env -S nix-shell --pure { pkgs ? import {} }: pkgs.mkShell { - buildInputs = with pkgs; [( - with pkgs; [ - # nix_related - nixFlakes - nix-prefetch-git - validatePkgConfig - jq - git - # d_build_related - rund - dub - ldc - #meson - # search_sqlite_related - # search related - sqlite - # candy - starship - ] - )]; + buildInputs = with pkgs; [ + # nix_related + nixFlakes + nix-prefetch-git + validatePkgConfig + jq + git + # d_build_related + rund + dub + ldc + #meson + # search_sqlite_related + # search related + sqlite + # candy + starship + ]; shellHook = '' if [[ -e ".envrc" ]]; then source .envrc diff --git a/sundry/spine_search_cgi/views/configuration_example.txt b/sundry/spine_search_cgi/views/configuration_example.txt new file mode 100644 index 0000000..3552861 --- /dev/null +++ b/sundry/spine_search_cgi/views/configuration_example.txt @@ -0,0 +1,13 @@ +/+ obt - org-mode generated file +/ +struct Cfg { + string http_request_type = "http"; + string http_host = "localhost"; + string www_url_doc_root = "http://localhost"; + string www_doc_root = "/srv/www/spine"; + string cgi_bin_subpath = "/cgi-bin"; + string cgi_filename = "spine_search"; // "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/sundry/spine_search_cgi/views/configuration_suggested.txt b/sundry/spine_search_cgi/views/configuration_suggested.txt deleted file mode 100644 index 5ba5175..0000000 --- a/sundry/spine_search_cgi/views/configuration_suggested.txt +++ /dev/null @@ -1,13 +0,0 @@ -/+ obt - org-mode generated file +/ -struct Cfg { - string http_request_type = "http"; - string http_host = "localhost"; - string www_url_doc_root = "http://localhost"; - string www_doc_root = "/srv/www/spine/static"; - string cgi_bin_subpath = "/cgi-bin"; - string cgi_filename = "spine_search"; // "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(); -- cgit v1.2.3