diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2025-01-05 19:03:18 -0500 | 
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2025-01-05 19:05:00 -0500 | 
| commit | f9fbc8ec513faa2071335962e046448e3f0d00a2 (patch) | |
| tree | 5b5a5705bfa283aaf4169b8b181f89cd731e6bae /org/config_nix.org | |
| parent | 2025 (diff) | |
org blocks, identify syntax
Diffstat (limited to 'org/config_nix.org')
| -rw-r--r-- | org/config_nix.org | 56 | 
1 files changed, 28 insertions, 28 deletions
diff --git a/org/config_nix.org b/org/config_nix.org index 351562a..a255712 100644 --- a/org/config_nix.org +++ b/org/config_nix.org @@ -662,14 +662,14 @@ installPhase = ''  **** github (official)  #+NAME: nixpkgs_url_github -#+BEGIN_SRC sh +#+BEGIN_SRC shell  github:NixOS/nixpkgs/nixpkgs-unstable  #+END_SRC  **** localhost  #+NAME: nixpkgs_url_local -#+BEGIN_SRC sh +#+BEGIN_SRC shell  /srv/nix/nixpkgs  #+END_SRC @@ -738,7 +738,7 @@ nix-shell '<nixpkgs>' -A nix --pure  *** echo-nixNote  #+HEADER: :tangle ../.env/echo-nixNote -#+BEGIN_SRC sh +#+BEGIN_SRC shell  echo '-*- mode: org -*-  ,* nixpkgs path? @@ -751,7 +751,7 @@ echo "  <nixpkgs> == `nix-instantiate --find-file nixpkgs`" >> nixNote_.org  echo '  ,* nix build and show derivation -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  nix-shell --pure  nix-build @@ -789,7 +789,7 @@ echo "#+END_SRC  ,* initialised shell variables -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  SpineSRC=$SpineSRC  SpineDOC=$SpineDOC  SpinePOD=$SpinePOD @@ -802,81 +802,81 @@ echo '* spine run instruction examples  ,** parallelized tasks  ,*** doc source -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --very-verbose --pod --source --output="$SpineOUTversioned" $SpinePOD/*  ,#+END_SRC  ,*** html & epub output -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --very-verbose --html --epub --output="$SpineOUTversioned" $SpinePOD/*  ,#+END_SRC  ,*** sqlite db for each document - populate each db -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --very-verbose --sqlite-discrete --output="$SpineOUTversioned" $SpinePOD/*  ,#+END_SRC  ,*** doc source; html, epub; sqlite outputs -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --verbose --pod --html --epub --sqlite-discrete --output="$SpineOUTversioned" $SpinePOD/*  ,#+END_SRC  ,*** curate (authors topics) -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --very-verbose --curate --output="$SpineOUTversioned" $SpinePOD/*  ,#+END_SRC  ,*** html, curate -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --verbose --dark --html --html-link-curate --curate --output="$SpineOUTversioned" $SpinePOD/*  $SpineBIN/spine --very-verbose --html --html-link-curate --curate --output="$SpineOUTversioned" $SpinePOD/*  ,#+END_SRC  ,*** composite command: source pod, html, epub, curate, sqlite -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --verbose --dark --pod --epub --html --html-link-curate --curate --sqlite-discrete --output="$SpineOUTversioned" $SpinePOD/*  ,#+END_SRC  ,** sequential tasks  ,*** sqlite db (shared) - create db -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --very-verbose --sqlite-db-create --output="$SpineOUTversioned"  ,#+END_SRC  ,*** sqlite db (shared) - populate db -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --very-verbose --sqlite-update --output="$SpineOUTversioned" $SpineDOC/sisudoc-spine-markup-samples/markup/pod/*  ,#+END_SRC  ,*** sqlite db (shared) - drop db -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --very-verbose --sqlite-db-drop --output="$SpineOUTversioned"  ,#+END_SRC  ,*** sqlite db (shared) - create & populate db (single step) -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --very-verbose --sqlite-db-create --sqlite-update --output="$SpineOUTversioned" $SpinePOD/*  ,#+END_SRC  ,*** composite command: source pod, html, epub, curate, sqlite -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --verbose --no-parallel --dark --pod --epub --html --html-link-curate --curate --sqlite-discrete --output="$SpineOUTversioned" $SpinePOD/*  ,#+END_SRC  ,** config [./pod/].dr/config_local_site -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  cat $SpinePOD/.dr/config_local_site  $SpineBIN/spine --show-config $SpinePOD  $SpineBIN/spine --show-config --output="$SpineOUTversioned" $SpinePOD @@ -884,7 +884,7 @@ $SpineBIN/spine --show-config --output="$SpineOUTversioned" $SpinePOD  ,** cgi operations (output to $SpineOUT /var/www) -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --very-verbose --sqlite-db-create --output="$SpineOUT" $SpinePOD/*  $SpineBIN/spine -v --cgi-search-form-codegen --output=$SpineOUT $SpinePOD/* @@ -899,26 +899,26 @@ $SpineBIN/spine -v --cgi-search-form-codegen --config=$SpinePOD/.dr/config_local  ,*** generate html linked to search form -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine -v --html --html-link-search --html-link-curate --curate  --output=$SpineOUT $SpinePOD/*  ,#+END_SRC  ,*** create or re-create sql db (--sqlite-db-create or --sqlite-db-recreate) -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine -v --sqlite-db-create --sqlite-db-filename="<<spine_search_db>>" --sqlite-db-path="$SpineDBpath"  $SpineBIN/spine -v --sqlite-db-recreate --sqlite-db-filename="<<spine_search_db>>" --sqlite-db-path="$SpineDBpath"  ,#+END_SRC  ,*** populate sqlite db -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine -v --sqlite-update --sqlite-db-filename="<<spine_search_db>>" --output=$SpineOUT $SpinePOD/*  ,#+END_SRC  ,*** generate html (linked to search form), sql output, curate COMPOSITE -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine -v --html --html-link-search --html-link-curate --curate --sqlite-update --sqlite-db-filename="<<spine_search_db>>" --cgi-sqlite-search-filename="<<spine_search_cgi>>" --sqlite-db-path="$SpineDBpath" --output="$SpineOUT" $SpinePOD/*  $SpineBIN/spine --epub --html --html-link-search --html-link-curate --curate --sqlite-update --sqlite-db-filename="spine.search.db" --cgi-sqlite-search-filename="spine_search" --cgi-url-action="https://sisudoc.org/spine_search" --ouput="$SpineOUT" $SpinePOD/*  ,#+END_SRC @@ -927,7 +927,7 @@ $SpineBIN/spine --epub --html --html-link-search --html-link-curate --curate --s  if names and paths are configured in resource configuration file, e.g. $SpinePOD/.rc/config_local_site -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine -v --html --html-link-search --html-link-curate --curate --sqlite-update $SpinePOD/*  ,#+END_SRC @@ -962,13 +962,13 @@ webserv:  ,*** make search form -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine -v --cgi-search-form-codegen --config=$SpinePOD/.dr/config_local_site  ,#+END_SRC  ,*** latex -,#+BEGIN_SRC sh +,#+BEGIN_SRC shell  $SpineBIN/spine --latex --serial --output="$SpineOUT" $SpinePOD/*  ls $SpineOutstatic/latex/*.tex  ,#+END_SRC @@ -983,12 +983,12 @@ ls $SpineOutstatic/latex/*.tex  *** db search related variables  #+NAME: spine_search_db -#+BEGIN_SRC sh +#+BEGIN_SRC shell  spine.search.db  #+END_SRC  #+NAME: spine_search_cgi -#+BEGIN_SRC sh +#+BEGIN_SRC shell  spine_search  #+END_SRC  | 
