joshuamiller / internet-of-thing

A small Electron + ClojureScript Demo app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internet Of Thing

This is a small demo Electron + ClojureScript app, built for a talk at Clojure PDX on building desktop apps with Electron and ClojureScript. It's based on the excellent work done on cljs-electron.

Running it

gem install foreman              # install foreman gem (see Procfile)
npm install electron-prebuilt -g # install electron binaries

foreman start                    # compile cljs and start figwheel
electron .                       # start electron from another terminal

Releasing

lein cljsbuild once frontend-release # compile ui code
lein cljsbuild once electron-release # compile electron initialization code

electron .                           # start electron to test that everything works

After that you can follow distribution guide for the electron.

About

A small Electron + ClojureScript Demo app


Languages

Language:Clojure 89.9%Language:HTML 9.6%Language:CSS 0.5%