example stack using clojure and clojurescript
- ring for web server
- ring-edn for edn middleware
- compojure for web server routing
- om for views (using react)
- om-sync for data sync over edn
- korma for sql queries
- lobos for sql migrations
install java JDK version 6 or later
# get lein (https://github.com/technomancy/leiningen)
wget https://raw.github.com/technomancy/leiningen/stable/bin/lein -P ~/bin
chmod +x ~/bin/lein
# get this project
git clone https://github.com/holonomy/clojure-stack
# go to this project
cd clojure-stack
# get dependencies
lein deps
# migrate database
lein lobos migrate
# compile clojurescript
lein cljsbuild once
# run server
lein run
# migrate database
lein lobos migrate
# in one terminal, compile clojurescript
lein cljsbuild auto dev
# in another terminal, run server
lein run