Skip to content

CodeRoad In a Container? Web Version? #225

Closed
@ShMcK

Description

@ShMcK

It is possible to run CodeRoad on the web in a variety of ways.

Visual Studio Online (Preview)

https://visualstudio.microsoft.com/services/visual-studio-online/

To get the tutorial to run correctly you first need to:

  • delete the autogenerated README.md file to start with an empty workspace
  • configure your git user.name & user.password so that git runs properly

Screen Shot 2020-04-06 at 7 18 17 PM

Container

See notes on running VSCode inside of a container: https://code.visualstudio.com/docs/remote/containers

I've tried this locally using the VSCode remote extension. With Docker, you're able to configure the environmental setup. There are some downsides: VSCode ran about twice as slow, and the initial docker container startup took around a minute or so the first time (though fast on subsequent times).

CodeSandbox

It may be possible to create a trimmed down version of VSCode, like CodeSandbox.io. The creators of CodeSandBox have shown intent to make this possible.

Extensions Support
We now support VS Code Extensions! The cool thing about this integration is that everything runs in the > browser. Instead of spawning node processes, we spawn Web Workers with stubbed node modules like > fs, net and module. This means that there's less latency and there's no need for us to run servers for VS > Code. I'll do a better write-up on how this works after all the remaining releases.

Initially we'll support a predefined list of extensions, we'll gradually open up the possibility for everyone to add and install their own extensions.

source

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentationvscode-featureExperimental or new vscode features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions