From a179d24ceaa8014d0e30b481e9740891b428e322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ebbinghaus?= Date: Mon, 9 Mar 2020 21:58:02 +0100 Subject: [PATCH] Update README for figwheel-main --- README.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index cf0572f..db2eee2 100644 --- a/README.adoc +++ b/README.adoc @@ -15,13 +15,13 @@ image::screenshot.png[align="center"] == Usage -Run `lein figwheel` in your terminal. Wait for a while until you see `Successfully compiled "resources/public/js/main.js"`. Open [localhost:3449](http://localhost:3449) in your browser. +Run `lein fig:dev` in your terminal. Wait for a while until you see `Successfully compiled "target/public/cljs-out/biosphere-main.js"`. -You can use this while developing your sketch. Whenever you save your source files the browser will automatically refresh everything, providing you with quick feedback. For more information about Figwheel, check the [Figwheel repository on GitHub](https://github.com/bhauman/lein-figwheel). +You can use this while developing your sketch. Whenever you save your source files the browser will automatically refresh everything, providing you with quick feedback. . == Publishing your sketch -Before you publish your sketch, run `lein do clean, cljsbuild once optimized`. This will compile your code and run Google Closure Compiler with advanced optimizations. Take `resources/public/index.html` and `resources/public/js/main.js` and upload them to server of your choice. +Before you publish your sketch, run `lein do clean, fig:publish`. This will compile your code and run Google Closure Compiler with advanced optimizations. Take `resources/public/index.html` and `target/public/cljs-out/biosphere-main.js` and upload them to server of your choice. == License