YAACS is an artificial chemistry simulator, centered around petri nets.
This project includes a webserver, written in OCaml, as well as a web client, written in Rescript.
You will need a working OCaml developping environment, ideally set-up with opam. Dune is used as a build system.
See output of dune build
Running dune build @local_install
will output the yaacs_server
binary as well as the client and some data into the ./dist
directory. You can then launch the program with
cd ./dist
./yaacs_server
By default, the server will be accessible on https://localhost:1512
.
Run ./yaacs_server --help
to see available options.
Run dune build
Rune dune build @client
- Run
yarn install
from the root dir to install the dependancies. - Run
bsb -make-world -w
to build rescript files into javascript (watch mode) - From
.src/gui/client
, runyarn server
to serve the built files - Run the server