Skip to content

Commit

Permalink
Merge pull request #1 from kongeor/add-re-frame
Browse files Browse the repository at this point in the history
Add re frame
  • Loading branch information
kongeor authored Feb 11, 2021
2 parents f58da24 + b5db033 commit a00dfc2
Show file tree
Hide file tree
Showing 27 changed files with 1,681 additions and 314 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ pom.xml.asc
*.iml
/.idea

run.sh
run.sh

/resources/public/js
/resources/public/test
/.shadow-cljs
node_modules
25 changes: 20 additions & 5 deletions dev/user.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
(ns user
(:require
[system.repl :refer [system set-init! start stop reset]]
[kino.systems :refer [base-system]]))
(:require [integrant.repl :as ig-repl]
[clojure.tools.namespace.repl :refer [set-refresh-dirs]]
[kino.system :as system]))

(set-init! #'base-system)
; type (start) in the repl to start your development-time system.
#_(set-init! #'base-system)
; type (start) in the repl to start your development-time system.

(set-refresh-dirs "src")

(ig-repl/set-prep! (fn [] system/config))

(def go ig-repl/go)
(def halt ig-repl/halt)
(def reset ig-repl/reset)
(def reset-all ig-repl/reset-all)

(comment
(go)
(halt)
(reset)
(reset-all))
Loading

0 comments on commit a00dfc2

Please sign in to comment.