Skip to content

Commit

Permalink
Update README for figwheel-main
Browse files Browse the repository at this point in the history
  • Loading branch information
MrEbbinghaus committed Mar 9, 2020
1 parent ce9725b commit a179d24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a179d24

Please sign in to comment.