Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension Idea: Rust Playground integration #59

Open
RaulTrombin opened this issue Jun 29, 2023 · 0 comments
Open

Extension Idea: Rust Playground integration #59

RaulTrombin opened this issue Jun 29, 2023 · 0 comments
Labels
extension-idea Suggestion/request for an extension to be developed

Comments

@RaulTrombin
Copy link
Member

Like jupyter lab for python, check viability of an extension for rust (Important to check if it can access the devices).
Rust-Playground

image

Rust-Playground - Source Code

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/).
@ES-Alexander ES-Alexander added the extension-idea Suggestion/request for an extension to be developed label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension-idea Suggestion/request for an extension to be developed
Projects
None yet
Development

No branches or pull requests

2 participants