Clojure(1)Language Introduce and ENV

Clojure(1)Language Introduce and ENV

Set Up ENV on MAC
>brew update
>brew search clojure
==> Searching local taps...
clojure                                          clojurescript
==> Searching taps on GitHub...
==> Searching blacklisted, migrated and deleted formulae...

>brew install leiningen
Error: Your Xcode (8.2) is too outdated.
Please update to Xcode 9.1 (or delete it).
Xcode can be updated from the App Store.

Try to Update the Xcode, Actually I do not have Xcode on my MAC. I just install one and try again
>brew install leiningen

>brew install clojurescript

Verify Installation, we can get in there
>lein repl
user=> (+ 1 2 3 4 5 6 7 8 9)
45

Set Up that on Eclipse
https://dev.clojure.org/display/doc/Getting+Started+with+Eclipse+and+Counterclockwise
Search this “Counterclockwise”, Install the PLUGIN

Build and Set Up https://github.com/metabase/metabase
https://github.com/metabase/metabase/blob/master/docs/developers-guide.md
Clone that, and we can easily build that
>bin/build

After build, the class is under here
/Users/carl/company/code/metabase/target/uberjar/metabase-metabase-SNAPSHOT.jar

Drag the directory to Eclipse with Plugin, change the output bin path to eclipse_bin, then everything looks well.
Some more detail here
https://github.com/metabase/metabase/blob/master/docs/developers-guide.md#build-metabase

Running the Metabase
https://www.metabase.com/docs/latest/operations-guide/start.html#installing-and-running-metabase

Running Metabase
>java -jar /Users/carl/company/code/metabase/target/uberjar/metabase.jar

Visit the UI
http://localhost:3000/setup

Grammer study
https://wizardforcel.gitbooks.io/clojure-fpftj/46.html

References:
https://wizardforcel.gitbooks.io/clojure-fpftj/1.html
https://clojure.org/
https://segmentfault.com/a/1190000005824571
http://www.jianshu.com/p/1c906a8b9c49
https://stackoverflow.com/questions/15417619/how-do-you-update-xcode-on-osx-to-the-latest-version



猜你喜欢

转载自sillycat.iteye.com/blog/2400566
env