Code-server setup successful; migrating to single VM per user.

Now I'm wondering if this is even a good approach at all. Maybe I should try setting up code-server instead? That way, one day I could let the users use the vscode on their pc, which would probably be a more comfortable user experience. I'll explore this idea.

After exploring a little and trying to set it up, I'm surprised at how easy it actually is. I was able to set up code-server and embed it inside my app very quickly. With a little configuration, I can get it to nicely fit in, without excessive UI elements. I'm really happy with the result. This is the direction I'll be going.

I will need to think about how to set this new configuration up, as this approach doesn't allow me to use a single vm for multiple users anymore, so we're back to the initial idea of single VM per user.

Now, I need to load the code for each step. I decided earlier that the best way to do this would be to create a repository for each course, and have branches for each step. Then, I can simply use git to change the steps.

I set up the course repo and step loading. I'm now struggling with setting the open file. The code-server command comes up with an error, and code -r opens the file in the running instance of vscode, not the code-server. I'll revisit this later.

Now I have to set up running the tests. I think I would like to keep the "run tests" button, but how am i going to display the results?

I set up the run tests button to simply call "dotnet test" and display the results in a box under the editor. Not very pretty, but enough for now. The first few times the tests worked flawlessly, however, I'm getting a weird error now. I'll take care of that tommorrow.

I can't believe I set all of this up in one evening. Wish I tried code-server much earlier.