Quick Start
In this tutorial we will publish a scene to Bevyhub.
You will need a GitHub account and a spirit of adventure. Iโll be using the GitHub CLI but feel free to follow along with the browser UI if you prefer.
Show Final Code
๐ Hello World!
Lets start by creating a new project and publishing it.
Any crate on GitHub can be visited on Bevyhub, try finding yours!
๐ฅ Our first scene
Bevyhub scenes are declared in Cargo.toml
in a similar way to Cargo Examples.
Weโll look into creating scenes in another tutorial but for now lets just use this one:
- Download the scene via curl or manually:
- Declare the scene in
Cargo.toml
- Push the changes
- View on Bevyhub
๐ Running an App
Note that when we visited the scene we see that This scene does not have an associated app
.
There is a simple base app in the bevyhub_template
crate called my-base-scene
, lets use that one:
- Install
bevyhub_template
- Declare the app in
Cargo.toml
- Publish
- View the editor on Bevyhub
Now when we revisit the page we can load the scene!
๐งน Cleaning Up
Cleaning up is as simple as deleting your repository, note that some of the repo information will persist in the Bevyhub cache until it is next cleared.