scorpion / lms

🧑‍🏫 Scorpion LMS + Docker Hub automation and infrastructure provisioner. NGDLE precursor.
https://learn.scorpion.io
Apache License 2.0
2 stars 0 forks source link

Simulators #46

Open brettwilcox opened 3 years ago

brettwilcox commented 3 years ago

Simulators

I want to have a way for a student to sign up for Digital Ocean and retrieve an API key. In the student portal, they would input this API key for Terraform to automate lab deployments. It will need to be in-sync with where student is in course and permanent storage (pennies per month) for keeping permanent data.

Why I opened this issue

It's too difficult to coordinate student learning on various owned computing devices. We need a way to have a button to bring up an environment where they can login and start programming immediately with proper implementation and dependencies pre-setup.

Remote

https://code.visualstudio.com/docs/remote/remote-overview

Tunneling

https://sim.sh will be setup for scorpion automations. No intent to make services public, but will be providing source code, infrastructure as code, and documentation to provide a server endpoint as a self hosted endpoint.

https://github.com/localtunnel/localtunnel

Vision

When a student generates an environment, they will need to have a few things.

  1. Portal or script to run "./sim.sh" and have it simulate the course.
  2. Env provisioned
  3. Connection to environment
  4. Public/Private URL for app (if needed)

After the student comes to a point where we are ready to start coding, there will be a "simulate" button. This will bring up an environment in the cloud for a time specified (2 hours default). It will build the environment in seconds to minutes, present the user with a "connect" button after deployment.

Remote Spaces

https://docs.github.com/en/free-pro-team@latest/github/developing-online-with-codespaces/using-codespaces-in-visual-studio-code

It looks like GitHub is going to beat me to the punch... Mine will be in a portal connected to the LMS and not the IDE.