site

files for beauhilton.com
git clone https://git.beauhilton.com/site.git
Log | Files | Refs

commit b6c8eea6e51edea254b385a897279c80741435cb
parent 6c401d7f4437c655d59b15513ec239667daad985
Author: beau hilton <cbeauhilton@gmail.com>
Date:   Thu, 19 Oct 2023 15:08:12 -0500

entr autorebuild script

Diffstat:
M.devenv/profile | 4++--
Mflake.nix | 16++--------------
Mindex.json | 4++--
Msh.sh | 7++++---
Msite/posts/intake-2022-03-25.md | 2+-
Msite/posts/vimbook-org.md | 3++-
6 files changed, 13 insertions(+), 23 deletions(-)

diff --git a/.devenv/profile b/.devenv/profile @@ -1 +1 @@ -/nix/store/fq8b0ncl7w8l94slqp3cxqlam913zvln-devenv-profile -\ No newline at end of file +/nix/store/4gdc4svkki811ip8qa9c5jjd5mwvkd76-devenv-profile +\ No newline at end of file diff --git a/flake.nix b/flake.nix @@ -45,21 +45,9 @@ soupault nohup simple-http-server --index --nocache -o -p 8999 ./build 2>&1 & ''; - # process.implementation = "process-compose"; - # process-manager.process-compose.config = { - # serve.cmd = "simple-http-server --index --nocache -p 8999 ./build"; - # open-browser.cmd = "$BROWSER 0.0.0.0:8999"; - # oepn-browser.depends_on.serve.condition = "process_completed_successfully"; - # rebuild.exec = "ag -l | entr -n -s 'soupault'"; - # newterm.exec = "wezterm start --cwd ."; - # }; - # process.implementation = "process-compose"; - processes = { - serve.exec = "nohup simple-http-server --index --nocache -p 8999 ./build &"; - open-browser.exec = "$BROWSER 0.0.0.0:8999"; - # open-browser.process-compose.depends_on.serve.condition = "process_completed_successfully"; - #rebuild.exec = "ag -l | entr -n -s 'soupault'"; + scripts = { newterm.exec = "wezterm start --cwd ."; + autorebuild.exec = "nohup ag -l | entr -n -s 'soupault' &> /dev/null &"; }; } ]; diff --git a/index.json b/index.json @@ -107,7 +107,7 @@ ], "excerpt": "candidal esophagitis, achalasia, H Pylori PUD", "date": "2022-03-25", - "title": "intake" + "title": "Intake presentation on candidal esophagitis" }, { "url": "/posts/employee-wifi", @@ -157,6 +157,6 @@ ], "excerpt": "Text of the post-excerpt goes here.", "date": "1978-01-01", - "title": "Fascinating title" + "title": "Post Template" } ] \ No newline at end of file diff --git a/sh.sh b/sh.sh @@ -1,7 +1,8 @@ # for non-Nix systems: -# running sh.sh will make a nice dev env with preview and auto-rebuild -# for Nix systems, -# just cd into the directory and the enterShell command takes care of it +# running sh.sh will make a nice dev env with preview and auto-rebuild. +# for Nix systems, this script isn't necessary - +# cd'ing into the directory will set up the server, +# and "autorebuild" will start the rebuild process in the background $TERMINAL -e caretaker &>/dev/null & disown $TERMINAL -e python3 -m http.server --directory build &>/dev/null & disown $TERMINAL -e $BROWSER http://localhost:8000 &>/dev/null & disown diff --git a/site/posts/intake-2022-03-25.md b/site/posts/intake-2022-03-25.md @@ -1,4 +1,4 @@ -# intake +# Intake presentation on candidal esophagitis <time id="post-date">2022-03-25</time> diff --git a/site/posts/vimbook-org.md b/site/posts/vimbook-org.md @@ -6,5 +6,6 @@ About making the Vimbook. WIP. </p> +## The Vanderbilt Internal Medicine Residency handbook - +Thanks Neuss!