bluerobotics / bluerobotics/BlueOS-Extensions-Repository

Extension Idea: Rust Playground integration

Aperta
#59 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
extension-idea
Lingua principale
Python
Stelle
20
Fork
31
Merge medio
1g 56m
PR unite (30g)
2

Descrizione

Like jupyter lab for python, check viability of an extension for rust (Important to check if it can access the devices).
[Rust-Playground](https://play.rust-lang.org/)

![image](https://github.com/bluerobotics/BlueOS-Extensions-Repository/assets/80598030/a5b69470-0fb6-402b-9b91-13c5a27633a2)

[Rust-Playground - Source Code](`https://github.com/rust-lang/rust-playground`)

Usefull content:
https://users.rust-lang.org/t/create-rustup-play-for-a-self-hosted-playground/13714/3
```
The official playground is [integer32llc/rust-playground 55](https://github.com/integer32llc/rust-playground). I have been able to get it running locally.

It requires [yarn 8](https://yarnpkg.com/lang/en/docs/install/) and [docker 1](https://docs.docker.com/engine/installation/) already installed.

git clone https://github.com/integer32llc/rust-playground
Build and run the frontend
cd rust-playground/ui/frontend
yarn
yarn run watch
Build and run the backend
cd rust-playground/ui
RUST_LOG=ui=debug PLAYGROUND_UI_ROOT=$PWD/frontend/build/ cargo run
Build the compiler containers and tools
Fair warning: this uses something like 16G of /var/lib/docker.

cd rust-playground/compiler
./build.sh
Once everything is running, visit [http://localhost:5000/ 5](http://localhost:5000/).
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia esaminando il codice sorgente di rust-playground collegato e i comandi di configurazione locale forniti per i container frontend, backend e compilatore. Esegui la configurazione documentata se praticabile, quindi verifica se il playground può accedere ai dispositivi BlueOS. Il lavoro è completato quando sono state stabilite la fattibilità dell'integrazione e le limitazioni dell'accesso ai dispositivi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
docker, rust
Ambito
devtools, embedded-iot
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.