https://github.com/nextjournal/clerk-demo
🤹 A bucket of interesting Clerk demos.
https://github.com/nextjournal/clerk-demo
Last synced: 11 months ago
JSON representation
🤹 A bucket of interesting Clerk demos.
- Host: GitHub
- URL: https://github.com/nextjournal/clerk-demo
- Owner: nextjournal
- Created: 2021-10-07T16:59:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-18T12:22:03.000Z (over 1 year ago)
- Last Synced: 2025-07-22T06:02:48.242Z (11 months ago)
- Language: Clojure
- Homepage: https://github.clerk.garden/nextjournal/clerk-demo/
- Size: 40.4 MB
- Stars: 175
- Watchers: 15
- Forks: 27
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🤹 Clerk Demo
This is a bucket of interesting Clerk demos. See https://github.clerk.garden/nextjournal/clerk-demo.
## Usage
To play with this, you need to have [Clojure
installed](https://clojure.org/guides/install_clojure), then run:
``` shell
clj -M:nextjournal/clerk nextjournal.clerk/serve! --watch-paths notebooks --port 7777 --browse
```
This will start the Clerk webserver on port 7777 and watch the
`notebooks/` directory for changes and open Clerk in your
browser.
Open one of the files there, e.g. `rule_30.clj`, make a
change and save it. You should then see these changes reflected in the
browser.
## From your Editor
For interactive development, it is recommended you let your editor
start the project (`jack-in`), if asked you should select `deps.edn` as
the project type.
Then, evaluate forms in `dev/user.clj`.