diff options
Diffstat (limited to '.env/echo-nixNote')
| -rw-r--r-- | .env/echo-nixNote | 46 | 
1 files changed, 23 insertions, 23 deletions
diff --git a/.env/echo-nixNote b/.env/echo-nixNote index 99d69dd..2e2355a 100644 --- a/.env/echo-nixNote +++ b/.env/echo-nixNote @@ -10,7 +10,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 @@ -48,7 +48,7 @@ echo "#+END_SRC  * initialised shell variables -#+BEGIN_SRC sh +#+BEGIN_SRC shell  SpineSRC=$SpineSRC  SpineDOC=$SpineDOC  SpinePOD=$SpinePOD @@ -61,81 +61,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 @@ -143,7 +143,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/* @@ -158,26 +158,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" --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 @@ -186,7 +186,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 @@ -221,13 +221,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  | 
