Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 2.12 KB

File metadata and controls

53 lines (33 loc) · 2.12 KB

Getting Started

This project is designed and documented for a development environment consisting of

  • Windows 10
  • Windows Subsystem for Linux version 2 (WSL2)
  • Powershell 7
  • VSCode
  • Docker Desktop

Optional components include

  • Windows 10 X-Server
  • PHPStorm
  • Smartgit

Setup Windows 10

  1. Install Windows Subsystem for Linux version 2.

    The Author works with Ubuntu-18.04.

  2. [Install Powershell on the WSL2 distribution you setup in the previous step]. See Installing PowerShell on Linux.

  3. Install Docker Desktop and configure it to use the WSL2 backend. See Docker Desktop WSL 2 backend

  4. Install VSCode on Windows. See Setting up Visual Studio Code.

  5. Configure VSCode for remote development for both WSL2 and Docker Containers. See TBD.

  6. Clone the lms_developer project to your working location

    git clone https://gitpapl1.uth.tmc.edu/CLI_Engage_Moodle/lms_developer.git

    For best performance clone this directly to a directory on your WSL2 distribution rather than Windows.

  7. Clone the lms codebase to the lms directory under the lms_developer project.

    git clone https://gitpapl1.uth.tmc.edu/CLI_Engage_Moodle/cliengage_lms.git lms
  8. (Optional) For consistency you can also install the same version of Powershell on Windows, see Installing PowerShell on Windows. Note that powershell is now available in the Microsoft Store.

Notes

  • This project also works with PHPStorm. Configuring PHPStorm is not documented here.
  • SmartGit is recommended as a Git management tool.
  • You can configure an X Serbver on windows and install PHPStorm and SMartgit in WSL2 for best performance.

Recommended VSCode extensions