Search

Lib.rs

› Email
#onboard #front-end #arcade #system #dotnet #devcade

devcade_onboard_types

Types used by the devcade onboard socket

Owned by Mary Strodl.

  • Install
  • API reference
  • GitHub repo (computersciencehouse)

1 unstable release

0.1.0 Jun 14, 2023

#448 in Email


Used in devcaders

MIT license

13KB
245 lines

Devcade-onboard

The onboard menu and control software for the Devcade custom arcade system.

Building

Run the update_onboard.sh script located in HACKING

Building (manual)

To build and run on the DCU, do the following from ./onboard/frontend:

dotnet publish -c Release -r linux-x64 --no-self-contained

And the following from ./onboard/backend:

cargo build --release --target x86_64-unknown-linux-gnu

To put it on the DCU, compress the publish folder located at ./onboard/frontend/bin/Release/netcoreapp3.1/linux-x64 and scp that to the DCU. You'll also want to scp ./onboard/backend/target/release to the DCU.

HACKING

To setup and launch a development environment, you can do the following:

Env Vars

There is a file called .env.template in the ./onboard folder. Fill this in with appropriate values for the backend and frontend.

Running outside a container

In onboard/frontend, run dotnet run

In onboard/backend, run cargo run

The frontend will log warnings about not being able to connect until the backend is up and running

Building and Launching the Container

cd HACKING
./build-environment.sh
./launch-environment.sh

mgcb

The container has mgcb-editor installed. To run that, do this: dotnet mgcb-editor

Dependencies

~0.5–1.4MB
~29K SLoC

  • anyhow
  • serde+derive
  • serde_json
Related: cargo-devcade
See also: netcorehost, weaveffi-gen-dotnet, dotnetdll, krokiet, tauri-utils, czkawka_cli, pop-launcher, mogwai, vpxtool, frontend-analyzer-provider, mpu9250

Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski. It contains data from multiple sources, including heuristics, and manually curated data. Content of this page is not necessarily endorsed by the authors of the crate. This site is not affiliated with nor endorsed by the Rust Project. If something is missing or incorrect, please file a bug.