- Open the repo page: https://github.com/nghongwatsang/Shop-Smart
- Click Code → Download ZIP
- Unzip it (you’ll get a folder like
Shop-Smart-main/)
Windows or macOS:
- Install Docker Desktop from Docker’s official site.
- Open Docker Desktop and ensure it’s running.
Linux:
- Install Docker Engine + the Compose plugin.
- Start Docker:
sudo systemctl enable --now docker - (Optional) Run without sudo:
Then log out and back in.
sudo usermod -aG docker $USER
- Open a terminal (PowerShell, Terminal, etc.).
- Navigate to the unzipped folder:
cd ~/Downloads/Shop-Smart-main
- Build and start the application:
(Leave this terminal window open.)
docker compose up --build
Go to: http://localhost:3000
- Stop (keep containers): Press
Ctrl + Cin the terminal. - Stop + remove containers:
docker compose down
- Full reset (deletes database volume):
docker compose down -v
Port already in use (3000 / 5432):
- Close application using the port or change mapping in
docker-compose.yml, then re-rundocker compose up --build.
Docker isn’t running:
- Start Docker Desktop or the docker service.
Command not found: docker:
- Ensure Docker installed correctly or restart your terminal.
