phyver / GameShell

a game to learn (or teach) how to use standard commands in a Unix shell
GNU General Public License v3.0
2.12k stars 135 forks source link

VM with game already installed #99

Open Mte90 opened 2 years ago

Mte90 commented 2 years ago

To help on teaching and so on, instead to offer only Docker a solution is a Virtualbox machine.

I mean a tutorial maybe on how to download a VM with ubuntu as example and steps to install it or to provide already a machine with the game installed and autoupdated. As today also the installer doesn't focus on installing the packages require, so maybe provide also a script to run with sudo for that and install the game can be a solution.

ziriuz84 commented 2 years ago

It's a good idea! +1 for me

phyver commented 2 years ago

I don't think offering a VM image containing GameShell is meaningful (too big), but adding instructions, or at least a link to some HOWTO describing how to install Debian/Ubunto on Virtualbox is possible. With a VM, the standard instructions can be used unchanged.

What do you think?

Mte90 commented 2 years ago

I was thinking like a minimal Ubuntu LTS VM with just the stuff needed as it will be probably used on the events/meetings where the game will be used. About the space I think that we can find where put the file also if it is big.

phyver commented 1 year ago

I'm not going to work on that, but another idea would be to find a minimal linux distribution for which we can configure a live cd (USB-stick) containing GameShell. Not sure which one is best. Porteus might fit the bill, but I haven't really tested anything.

Mte90 commented 1 year ago

It is not bad that distro as idea but wondering if as this game is used to teach linux maybe something based on Linux Mint, as example, can be also a way to invite them to try it other things.

rlepigre commented 1 year ago

Given how cheap online storage is, I think it would not be so bad to provide virtual machine with a full-fledged, standard distribution like Debian (or Ubuntu, Mint, whatever). The easiest approach would probably be to provide a Vagrant file for generating the VM image, and also have the image contain a script that downloads the latest version of the game when you start it. (All of that can be taken care of in the Vagrant configuration file). This way, anyone can generate their own VMs, with more deps if they need them, and we can also generate a standard one and host it somewhere.