CandyCheng-git/Candycheng-git.github.io
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
# Rebuild / run locally (Docker) ``` start "" "C:\Program Files\Docker\Docker\Docker Desktop.exe" wsl --install cd /mnt/c/Users/Candy/OneDrive/IT/CandyCheng-git/GithubProfile-2026/Candycheng-git.github.io ## Build and Run docker build -t candychengfolio:latest . && docker run --rm -it \ -p 3000:3000 \ -v "$PWD":/app \ -v candychengfolio_node_modules:/app/node_modules \ candychengfolio:latest sh -lc "npm install && npm start" ## Rerun Only docker run --rm -it \ -p 3000:3000 \ -v "$PWD":/app \ -v candychengfolio_node_modules:/app/node_modules \ candychengfolio:latest sh -lc "npm install && npm start" ## Rebuild + re-run docker build -t candychengfolio:latest . docker run --rm -it \ -p 3000:3000 \ -v "$PWD":/app \ -v candychengfolio_node_modules:/app/node_modules \ candychengfolio:latest sh -lc "npm install && npm start" ``` # Redeploy on GitHub (best practice) ``` git status git add . git commit -m "Update portfolio content" git push origin main ``` - http://localhost:3000