This is an example of web application, based on http-kit and websockets and utilizing excellent Stuart Sierra's workflow post.
To run this application:
lein cljsbuild once
lein uberjar
java -jar target/clony-0.1.0-SNAPSHOT-standalone.jar
- open
localhost:8081
in your browser - click the pony to have some pony wisdom
Please feel free to copy the code and use it in any way.
Development workflow is supposed to be similar to Stuart's: stay in user
namespace and run (refresh)
to recompile changed namespaces and reload
web application. Application "nodes" were designed with possibility of partial
restart in mind, so please modify this according to your needs.