OSXでGorillaを試す
下記のエントリに沿って試してみた(だけ).
異なるのは,OSX環境.
ブラウザ上でデータ分析が出来る!Clojure/Gorilla入門
異なるのは,OSX環境.
ブラウザ上でデータ分析が出来る!Clojure/Gorilla入門
# install
$ brew update
$ brew search leiningen
$ brew install leiningen
# localhost以下にdirを作成し移動
# 実行環境生成
# 実行環境生成
$ lein new gorilla
$ cd gorilla
$ vi project.clj
++ (defproject gorilla-test "0.1.0-SNAPSHOT"
++ :description "A test project for Gorilla REPL."
++ :dependencies [[org.clojure/clojure "1.6.0"]
++ [incanter "1.5.5"]
++ [incanter-gorilla "0.1.0"]
++ [cc.artifice/clj-ml "0.6.0-SNAPSHOT"]
++ [org.atilika.kuromoji/kuromoji "0.7.7"]]
++ :main ^:skip-aot gorilla-test.core
++ :target-path "target/%s"
++ :repositories http://www.atilika.org/nexus/content/repositories/atilika
++ :plugins lein-gorilla "0.3.3"
++ :profiles {:uberjar {:aot :all}})
# 起動
$ lein gorilla
# 出力の最後に'Running at RUNNING_URL'が出力されるのでブラウザで表示
# 表示させたら,ブラウザ上で上記エントリのサンプルコードを切り貼りして,試すなど.
Clojure書けません><
# 表示させたら,ブラウザ上で上記エントリのサンプルコードを切り貼りして,試すなど.
Clojure書けません><