git clone --recurse-submodules <this-project>
itl-chorus is written in rust. To build and run it, you need to install the rust programming language tools. The easiest way to do this is to use rustup.
This project is made up of three crates: an actix-web server
, a yew frontend
, and a common
crate that contains shared types for both the server and the frontend.
To build the frontend:
# Add the wasm32 target
$ rustup target add wasm32-unknown-unknown
# install trunk
$ cargo install trunk
# build the frontend
$ cd frontend
$ trunk build
# or to watch for changes
$ trunk watch
To build or run the server you can use the typical cargo commands:
cd server
cargo run
The frontend includes minified versions of the following libraries:
JZZ.js - MIT License JZZ.synth.MIDIjs - MIT License MIDI.js - MIT License