update readme

This commit is contained in:
jem 2020-04-24 11:04:32 +02:00
parent 2b3c590828
commit 8628a206e8
2 changed files with 3 additions and 23 deletions

View file

@ -4,28 +4,8 @@ Embeds mastodon timline into a html page. Uses JS, no intermediate server requir
# Setup # Setup
To setup a basic luminus project: sudo npm i -g npx
* lein new luminus shipping-cljs +kee-frame
Start a leiningen repl and run fighwheel and let it connect to your application:
1) lein repl
* user=> (start)
2) lein figwheel
3) Open http://localhost:3000/ in Browser
4) figwheel should have connected to your application
# Development # Development
lein repl does not seem to work with clojurescript. Lein figwheel is needed to work with clojurescript. npx shadow-cljs node-repl
E.g. in your figwheel repl:
app:cljs.user=> (in-ns 'masto-embed.routing)
app:masto-embed.routing=> routes
But will lead to Unable to resolve symbol: routes in this context
in lein repl.

View file

@ -2,7 +2,7 @@
(defn test (defn mytest
"" ""
[] []
"Hello world!") "Hello world!")