moodle-docker icon indicating copy to clipboard operation
moodle-docker copied to clipboard

Add powershell versions and quick start example

Open mwithheld opened this issue 5 years ago • 3 comments

I'm a neophyte at PowerShell. Converted the bin/ scripts and added a quick start example start.ps1.

mwithheld avatar Jan 29 '20 03:01 mwithheld

Ho @mwithheld,

it's curious that just few days ago, when working on #66 I had a thought about when we should consider providing powershell alternatives (old CMD is sooo... old).

So, I like the idea, potentially deprecating CMD in some time (or maybe wrapping them together, not sure if that's possible).

I can see that you are adding some extra commits, not directly related with the powershell stuff, but with moosh (#61) and other scripts. Also, it seems (just quick looked), that the powershell versions are not including the latest modifications to web and vnc ports.

So, maybe we can make this advance getting those details sorted out? Many thanks for your collaboration, really exciting!

stronk7 avatar Feb 05 '20 08:02 stronk7

Happy to help - I just happen to have a convergence of personal projects: (a) get Docker going on a semi-locked down Win10 box instead of under a Linux VM; and (b) a bit of Behat testing for this block I've developed.

I've added the web and VNC port changes into my repo so far - the commit is at https://github.com/mwithheld/moodle-docker/commit/8122ce84dff4a197d42f985c8a6e7177581e45bf Importantly, I haven't tested these changes actually work. I'll try do that over the next week.

My goal with the Moosh stuff is to make it easier for myself and others to do manual testing. My goal with start.ps1 is (a) a quick way for me to launch the VMs; and (b) flesh out the readme with real-a world example. Neither of these is meant to be production-ready code.

You're very welcome to take the parts you find useful.

mwithheld avatar Feb 06 '20 05:02 mwithheld

Hi @stronk7 I fixed issues, cleaned up the scripts and tested - seems to work.

mwithheld avatar Feb 07 '20 04:02 mwithheld