Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
MrEbbinghaus committed Nov 15, 2021
1 parent 55a9af7 commit 1e10032
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
10 changes: 2 additions & 8 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,9 @@ image::screenshot.png[align="center"]
- [ ] Develop feature set for creatures
- [ ] Look into and implement https://towardsdatascience.com/neat-an-awesome-approach-to-neuroevolution-3eca5cc7930f[NEAT]

== Usage
== Development

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. .

== Publishing your sketch

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.
Run `clj -M:cljs:dev watch :main` in your terminal. Go to http://localhost:9500.

== License

Expand Down
3 changes: 1 addition & 2 deletions shadow-cljs.edn
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
:modules {:app {:entries [biosphere.core]}}

:devtools
{:repl-init-ns user
:repl-pprint true
{:repl-pprint true
:http-port 9500
:http-root "resources/public"}}}}

0 comments on commit 1e10032

Please sign in to comment.