What is this?
A Clerk notebook to mock data for a ring clojure app and teach unit testing. This repository uses Uses Clerk to show up as notebook.
Where to see this stuff?
https://sindhubb.github.io/clerk-mocking-testing/
How to run this to contribute?
- Install dependencies with
lein deps
- Run
lein start-clerk <PORT>
where PORT can be any port you want - Hit Ctrl + S on a clojure file (save the file)
- Browse
http://localhost:<PORT>
to see the live notebook
How to get HTML?
Run lein make-docs
and you should see html files generated under src/<name-of-dir>
How to view HTML?
You can open ./docs/index.html
in any browser and browse as you normally would.
How to run this app for development?
lein ring server-headless <PORT>
(gives hot reloading)lein run <PORT>
(gives a simple server)