Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codamic/oneiri
Client application for psychopomps
https://github.com/codamic/oneiri
clj clojure clojurescript figwheel hellhound re-frame
Last synced: about 2 months ago
JSON representation
Client application for psychopomps
- Host: GitHub
- URL: https://github.com/codamic/oneiri
- Owner: Codamic
- License: gpl-2.0
- Created: 2017-04-23T08:26:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-24T10:48:32.000Z (over 7 years ago)
- Last Synced: 2024-10-12T10:21:08.450Z (3 months ago)
- Topics: clj, clojure, clojurescript, figwheel, hellhound, re-frame
- Language: Clojure
- Size: 68.4 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oneiri
A [re-frame](https://github.com/Day8/re-frame) application designed to ... well, that part is up to you.
## Development Mode
### Start Cider from Emacs:
Put this in your Emacs config file:
```
(setq cider-cljs-lein-repl "(do (use 'figwheel-sidecar.repl-api) (start-figwheel!) (cljs-repl))")
```Navigate to a clojurescript file and start a figwheel REPL with `cider-jack-in-clojurescript` or (`C-c M-J`)
### Compile css:
Compile css file once.
```
lein less once
```Automatically recompile css file on change.
```
lein less auto
```### Run application:
```
lein clean
lein figwheel dev
```Figwheel will automatically push cljs changes to the browser.
Wait a bit, then browse to [http://localhost:3449](http://localhost:3449).
### Run tests:
```
lein clean
lein doo phantom test once
```The above command assumes that you have [phantomjs](https://www.npmjs.com/package/phantomjs) installed. However, please note that [doo](https://github.com/bensu/doo) can be configured to run cljs.test in many other JS environments (chrome, ie, safari, opera, slimer, node, rhino, or nashorn).
## Production Build
To compile clojurescript to javascript:
```
lein clean
lein cljsbuild once min
```