File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,18 @@ user=> (r/load-demo-data! "/path/to/clojurians-log-demo-data")
51
51
/path/to/clojurians-log-demo-data/2018 -02-02 .txt
52
52
/path/to/clojurians-log-demo-data/2018 -02-03 .txt
53
53
...
54
- ```
55
54
56
55
Note for WSL users - please enter the below command in your terminal before running any of the above commands:
57
56
58
57
```
59
58
export CLOJURIANS_LOG_HOST="0.0.0.0"
60
59
```
61
60
62
- You can see it in action at [ http://localhost:4983 ] ( http://localhost:4983 )
61
+ You can see it in action at [http://localhost:4983](http://localhost:4983), or start a browser with
62
+
63
+ ```
64
+ user=> (browse)
65
+ ```
63
66
64
67
## Some tips on development
65
68
Original file line number Diff line number Diff line change 28
28
(component/system-map
29
29
:config (->ValueComponent (atom cfg))
30
30
:routes (-> (new-endpoint (fn [endpoint]
31
- (let [router ( reitit.ring/router routes/routes)
32
- handler (reitit.ring/ring-handler router)]
33
- ( fn [request ]
31
+ (fn [request]
32
+ ( let [router (reitit.ring/router routes/routes)
33
+ handler ( reitit.ring/ring-handler router) ]
34
34
(handler (assoc request
35
35
:endpoint endpoint
36
36
:config cfg
You can’t perform that action at this time.
0 commit comments