summaryrefslogtreecommitdiff
path: root/scripts/README
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/README')
-rw-r--r--scripts/README33
1 files changed, 33 insertions, 0 deletions
diff --git a/scripts/README b/scripts/README
new file mode 100644
index 0000000..b6f4878
--- /dev/null
+++ b/scripts/README
@@ -0,0 +1,33 @@
+The scripts in this directory are meant to be run as standalone
+executables. They must be made into executable SBCL image files.
+
+From a terminal, enter this directory and type:
+
+ sbcl --load <lisp-file>
+
+where lisp file is a file with a .lisp extension. For example:
+
+ sbcl --load failover.lisp
+
+This will load the lisp file and leave you at the REPL. The prompt
+will look like:
+
+ *
+
+At the REPL, type the following lisp form:
+
+ (in-package :dns-admin)
+
+and hit Enter. Then type:
+
+ (sb-ext:save-lisp-and-die "<exe-file>" :toplevel #'run :executable t)
+
+where <exe-file> is the name you want for the new executable core
+file. For example:
+
+ (sb-ext:save-lisp-and-die "failover.exe" :toplevel #'run :executable t)
+
+and hit Enter.
+
+When `save-lisp-and-die' finishes, SBCL will exit and you will be back
+at a terminal prompt.