Skip to content

Latest commit

 

History

History
84 lines (54 loc) · 3.56 KB

SETUP.md

File metadata and controls

84 lines (54 loc) · 3.56 KB

Development Setup

All of this software is going to make your life awesome!

Before you start make sure you have the following software setup:

  • Update to Windows 10 20H2 - this will give your windows updates to run WSL2 and install needed applications. You will need to update your windows machine to at least version 20H2 preferred, use Windows Update and click "Check for updates Available at Microsoft"

You will need to have the following software installed to ensure you can contribute to development of this codebase:

You can now prepare your AEM and project for testing

Update your Docker memory usage

Create a file called .wslconfig in your home directory with following content, update as needed:

[wsl2]
memory=32GB

Run AEM in Docker

Back to Prerequisites

To start a fresh copy of AEM running in Docker Container run following in project root:

docker-compose up

Add your normal user to Docker Users Group

Back to Prerequisites

Run the following command in an elevated powershell prompt:

Add-LocalGroupMember -Group "docker-users" -Member "<YOUR USER NAME>"

Enable Windows 10 Long File Names

Back to Prerequisites

To check if your registry entry value for long filenames support:

reg query HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FileSystem /v LongPathsEnabled

To enable Windows 10 long filename run following command in elevated powershell and restart your computer:

reg add HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 0x1 /f 

To enable git to use long filename run following command in elevated powershell and restart your computer:

git config --global core.longpaths true

Add Git Path Windows Path

Back to Prerequisites

You need to add following paths to your System Path environment variable:

  • C:\Program Files\Git\bin - this contains main git
  • C:\Program Files\Git\usr\bin - this contains helpers that are available on linux