latest
Setup Project on Mini PC (Windows)
In the scripts folder there are several .bat files used to set up the environment on the mini PC.
Requirements
- Create an
Appsfolder on theCdrive. - Clone this repository into the
Appsdirectory. Note that should not rename the directory you have just cloned.
Steps
-
Update and rename
.env.templatefile to.env -
Run
setup-wsl.bat- This will install WSL with Ubuntu‑22.04.
- Follow the prompts to create a default UNIX user account inside WSL.
-
Run
setup-docker.bat- This will install Docker Engine (v2) and Docker Compose V2 inside the Ubuntu WSL you just created.
- It also enables the Docker daemon to start automatically.
-
Run
setup-prj.bat- Login docker to Gitea.
- Create
walmartfolder in WSL. - Copy
.envandcomposefiles towalmartfolder. - Run docker compose file
docker compose up -d.
-
Run
update-prj.bat- This will pull latest image from container registry.
- Restart all containers in compose file
- Remove unused images (old images)
Notes
- During these steps, you may be asked to enter your UNIX user password (for
sudocommands). - Make sure you reboot your PC after running
setup-wsl.batbefore continuing with the next scripts. - Verify installation by running:
docker --version docker compose version