ulysses (front-end)
stack:
-
language: clojure / clojurescript [1]
-
rx / state: re-frame
-
routing: secretary
-
development environment: figwheel
-
css: sass
-
tests: doo
[1] definitely use parinfer for clojure development. it makes paren/bracket management truly painless...fun even. available for atom, sublime, vim, etc.
prerequisites
- java jdk 8 (7 probably works too)
- leiningen 2 (includes clojure/clojurescript 1.8)
- npm/node
- make
make
run make
to see available commands
dev build w/ live reloading
make start
figwheel will automatically push cljs and sass changes to the browser, as well as run tests (to be configured).
wait a bit, then browse to http://localhost:3449
note: can't figure out how to exit node-sass when the repl is exited, so right now it becomes an orphaned process (on os x at least) and you'll have to kill it manually :(
prod build
make build
cleanup
make clean
will remove :clean-targets
(specified in project.clj
) including compiled js, sass, etc