https://github.com/lilactown/shadow-reagent-flip-move-example
https://github.com/lilactown/shadow-reagent-flip-move-example
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lilactown/shadow-reagent-flip-move-example
- Owner: lilactown
- Created: 2019-05-07T17:31:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-07T20:15:51.000Z (over 6 years ago)
- Last Synced: 2025-02-15T18:48:34.771Z (8 months ago)
- Language: Clojure
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shadow-reagent-flip-move-example
## Getting started
Here's instructions on how to run the project in development
### From the command-line
```
cd shadow-reagent-flip-move-example
npm i
npx shadow-cljs watch app
```Open a browser to http://localhost:8700.
### Using CIDER
This assumes you have latest CIDER installed.
Ensure you have run `npm i` in the repository. Then, execute the following in
Emacs:1. `M-x cider-jack-in-clojurescript`
2. Select `shadow` from the REPL selection
3. Type `app` for the build to run
4. Type `y` to open up http://localhost:8700 in a browser### Connecting remotely
If you've already started the build from the command line (first option above),
and you want to connect CIDER to it, you can do the following in Emacs:1. `M-x cider-connect`
2. Select `localhost`
3. The port should auto-populate. If not, note the nREPL port printed in the
terminal shadow-cljs is running in.
4. Once connected to the CLJ REPL, evaluate `(shadow/repl :app)`