picture-processor-cljs/README.md

32 lines
894 B
Markdown
Raw Normal View History

2016-01-06 23:31:18 +00:00
# picture-processor
2016-01-12 11:59:07 +00:00
Process a bunch of pictures in nested directories and provide a nice, mobile-
friendly view of them.
2016-01-06 23:31:18 +00:00
2016-01-12 11:59:07 +00:00
## REPL with vim-fireplace and Piggieback
2016-01-06 23:31:18 +00:00
2016-01-12 11:59:07 +00:00
### client-side
2016-01-07 00:01:23 +00:00
* `lein repl`
2016-01-12 11:59:07 +00:00
* In the repl, `(web-start)` to launch a Jetty server on port 3500.
* In the browser, `http://localhost:3500`.
* In vim, `:Connect`, then `:Piggieback (weasel.repl.websocket/repl-env :port 45192)`
* In the browser console, `startRepl(45192)`
* Evaluate away!
### server-side
* `lein repl`
* In the repl, `(start)` to launch a cljs node repl.
2016-01-07 00:01:23 +00:00
* In vim, `:Connect`, then `:Piggieback (weasel.repl.websocket/repl-env :port 45192)`
* In the cljs repl, `(require 'picture-processor.repl)`
* ...and then `(picture-processor.repl/start 45192)`
* Evaluate away!
2016-01-06 23:31:18 +00:00
## License
Copyright © 2016 FIXME
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.