Skip to content

Commit

Permalink
Adds a readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
grischoun committed Mar 14, 2017
1 parent 34b49e8 commit b83abba
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion README.md
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
;;

0 comments on commit b83abba

Please sign in to comment.