about summary refs log tree commit diff
path: root/users/grfn/bbbg/src
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2022-01-29T17·44-0500
committerclbot <clbot@tvl.fyi>2022-01-29T17·52+0000
commitddc33e849f29c4563cd62769e801315e1e54bf02 (patch)
treeab675e45b9ef6e2641f506bb2dd51ce5f7c5f304 /users/grfn/bbbg/src
parenta12ffa41de2fa209d611aea82aa122e8e7f79295 (diff)
feat(grfn/bbbg): Add info on running the app r/3705
Add a README.org with info on installing dependencies and running the
app outside Emacs, and add a comment at the end of core.clj with info on
running the app inside Emacs with CIDER.

Change-Id: Ie7e73f71a98425092782facd80ceec2a8995bb0d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5115
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn/bbbg/src')
-rw-r--r--users/grfn/bbbg/src/bbbg/core.clj13
1 files changed, 12 insertions, 1 deletions
diff --git a/users/grfn/bbbg/src/bbbg/core.clj b/users/grfn/bbbg/src/bbbg/core.clj
index 70c7da50d502..632774d5cdac 100644
--- a/users/grfn/bbbg/src/bbbg/core.clj
+++ b/users/grfn/bbbg/src/bbbg/core.clj
@@ -54,5 +54,16 @@
    (constantly (component/start (make-system (env->config))))))
 
 (comment
-  (run-dev)
+  ;; To run the application:
+  ;; 1. `M-x cider-jack-in`
+  ;; 2. `M-x cider-load-buffer` in this buffer
+  ;; 3. (optionally) configure the secrets backend in `bbbg.util.dev-secrets`
+  ;; 4. Put your cursor after the following form and run `M-x cider-eval-last-sexp`
+  ;;
+  ;; A web server will be listening on http://localhost:8888
+
+  (do
+    (run-dev)
+    (bbbg.db/migrate! (:db system)))
+
   )