Publishing to the Web
Walkthrough
Export the Game
Run turbo export
. This will create a www
directory with the files required to run your game on the web.
your-project-dir/ # Your project's root directory.
βββ www/ # The files needed to run your game on the web.
βββ src/ # The directory of your code.
β βββ lib.rs # The main file for the game.
βββ Cargo.toml # Rust project manifest.
βββ turbo.toml # Turbo configuration.
Upload the Files
Upload the www
dir to a hosting service.