On a Windows machine,
-
Install Windows Subsystem for Linux following this guide.
-
Install Rancher Desktop
- Choose
dockerd (moby)
as the Container Engine - Disable Kubernetes
- Choose
-
Reboot your computer
-
Run the following commands one by one in PowerShell,
cp .env.example .env docker compose create docker compose run node npm ci docker compose up --detach --wait postgres docker compose run node npm run build docker compose run node npm run seed-db
In PowerShell,
$Env:NODE_ENV="development"; docker compose up
-
Administrator account
username: admin
password: admin -
User account with dummy data
username: mon.jai.tw
password: testpass
-
Replace
POSTGRES_PASSWORD
,IRON_SESSION_PASSWORD
andPGADMIN_DEFAULT_PASSWORD
with your own credentials in the.env
file -
In PowerShell,
docker compose up