-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,29 @@ | ||
# stat-ccg-2015 | ||
# stat-ccg-2015 | ||
|
||
;; HOW-TO | ||
;; ------ | ||
;; -- in shell: | ||
;; lein gorilla | ||
;; | ||
;; -- db side | ||
;; !!! Need to create the VIEWS manually until we migrate to postgres 9.3 where materialized views are availble. I.e. needs to go into DataGrip and execute all the SQLs in stat.sql. | ||
;; | ||
;; -- in emacs: | ||
;; cider-connect <port returned by lein gorilla> | ||
;; eval (C-c C-k) db-spec.clj first | ||
;; eval (C-c C-k) stat.clj | ||
;; | ||
;; -- in gorilla repl (i.e in the browser) | ||
;; | ||
;; * start the browser with the link returned on the command line by lein gorilla | ||
;; * to load an existing worksheet in the online viewer: ctrl-g ctrl-l | ||
;; | ||
;; (ns stat | ||
;; (:require [gorilla-plot.core :as plot])) | ||
;; (plot/bar-chart categories values) | ||
;; | ||
;; -- online viewer | ||
;;http://viewer.gorilla-repl.org/view.html?source=github&user=grischoun&repo=stat-ccg-2014&path=ws/main.clj | ||
;; | ||
;; to reload a worksheet in the online viewer: ctrl-g ctrl-l | ||
;; |