aboutsummaryrefslogtreecommitdiffhomepage
path: root/.envrc-local
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-05-13 15:47:09 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-05-13 18:17:03 -0400
commitf4a280dc6a869c540975b697f614c5172007d7a2 (patch)
tree7f8568a66b662eec555b43b466a92a4c186ef500 /.envrc-local
parentset nixVersions.nix_2_21 (diff)
nix flake and envrc related
Diffstat (limited to '.envrc-local')
-rw-r--r--.envrc-local40
1 files changed, 20 insertions, 20 deletions
diff --git a/.envrc-local b/.envrc-local
index 0c7d21f..74e98e0 100644
--- a/.envrc-local
+++ b/.envrc-local
@@ -1,29 +1,29 @@
-if [[ ! -d ./.git ]]; then
- git init
- git add .
-fi
-export DFLAGS="-O2 -inline -boundscheck=on -color=on"
-export SpineBIN=result/bin
-export SpinePROJ=~/grotto/repo/git.repo/projects/doc-reform/code/software/spine
+export SpineBIN=./result/bin/spine
+# ❯❯ nix builds spine binary:
+#export SpineBIN=./result/bin/spine
+# ❯❯ if from ../sisudoc-spine on directory tree nix build
+#export SpineBIN=../sisudoc-spine/result/bin/spine
+# ❯❯ dub builds spine binary (name depends on build, check):
+#export SpineBIN=../sisudoc-spine/bin/spine
+#export SpineBIN=../sisudoc-spine/bin/spine-ldc
+#export SpineBIN=../sisudoc-spine/bin/spine-dmd
+# ❯❯ location of source files:
export SpineDOC=.
+# ❯❯ location of source files pod:
export SpinePOD=${SpineDOC}/markup/pod
-export SpineOUT=/srv/www/spine
+# ❯❯ sisudoc-spine output processing path:
+export SpineOUT=./OUTPUT_TEST_sisudocSpine
+# ❯❯ sisudoc-spine output processing path (web server e.g.):
+#export SpineOUT=/srv/www/spine
+# ❯❯ path configured for cgi search form:
export SpineSearchActionLocal='http://localhost/spine_search'
export SpineSearchActionRemote='https://sisudoc.org/spine_search'
+# ❯❯ cgi search form name:
export SpineCGIform='spine_search'
+# ❯❯ search form db name:
export SpineSQLdb='spine.search.db'
+# ❯❯ configuration cgi search form path:
export SpineCGIbin=/var/www/cgi/cgi-bin
+# ❯❯ configuration db path:
export SpineDBpath=/var/www/sqlite
#export SpineDBpath=/srv/www/spine/sqlite
-echo '
- .envrc-local echo ❯❯
-
- ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c zsh
-
- ❯❯ nix develop
- ❯❯ nix develop -c zsh
- ❯❯ nix develop ".#dsh-overlay-ldc" --print-build-logs
-
- ❯❯ nix build
- ❯❯ nix build ".#default" --print-build-logs
-'