https://github.com/ljpengelen/clojurescript-rsi
A collection of simple Reagent apps
https://github.com/ljpengelen/clojurescript-rsi
clojurescript reagent
Last synced: 3 months ago
JSON representation
A collection of simple Reagent apps
- Host: GitHub
- URL: https://github.com/ljpengelen/clojurescript-rsi
- Owner: ljpengelen
- Created: 2022-01-18T20:57:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-22T07:26:44.000Z (9 months ago)
- Last Synced: 2025-01-27T09:26:42.751Z (4 months ago)
- Topics: clojurescript, reagent
- Language: Clojure
- Homepage: https://ljpengelen.github.io/clojurescipt-rsi/
- Size: 569 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Reagent apps
This is a collection of simple [Reagent](http://reagent-project.github.io/) apps that give you a starting point for experimentation,
without having to worry about project setup.This collection was created for the presentation [Clojure for Beginners](https://github.com/ljpengelen/clojure-for-beginners-presentation).
## Requirements
- [Java 8+](https://adoptium.net/)
- [Node.js and NPM](https://nodejs.org/)## Development
Run `npm install` before you start development for the first time and each time you add a new JavaScript dependency.
If you're a beginner to Clojure and don't have a favorite setup yet, I recommend using [Visual Studio Code](https://code.visualstudio.com/) in combination with the [Calva extension](https://calva.io/).
Once you've installed Java, Node.js, NPM, Visual Studio Code, and Calva, you can open `src/rsi/core.clj`, [connect Calva to the project](https://calva.io/connect/), and start experimenting.
## Running tests
First, compile the JavaScript bundle containing all tests by executing `npx shadow-cljs compile test`.
Afterwards, run the tests by executing `node out/node-test.js`.## Deploying
Execute `deploy.sh` to deploy with GitHub pages.
The resulting release build can be found in `/docs`.