first commit
This commit is contained in:
29
README.md
Normal file
29
README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Thiệp cưới — chạy trên Windows
|
||||
|
||||
Website tĩnh (Ladipage). Cần chạy qua **web server cục bộ** — không mở trực tiếp file `index.html` bằng double-click (ảnh/JS sẽ lỗi).
|
||||
|
||||
## Cách nhanh nhất
|
||||
|
||||
1. Double-click file **`start.bat`** trong thư mục dự án.
|
||||
2. Trình duyệt sẽ mở: `http://localhost:8080/www.mewedding.vn/index.html`
|
||||
3. Dừng server: nhấn `Ctrl+C` trong cửa sổ đen (hoặc đóng cửa sổ).
|
||||
|
||||
## Chạy bằng PowerShell
|
||||
|
||||
```powershell
|
||||
cd "D:\Thiệp Cứoi\Wed-dt"
|
||||
powershell -ExecutionPolicy Bypass -File .\serve.ps1
|
||||
```
|
||||
|
||||
Nếu Windows chặn script lần đầu, chạy một lần:
|
||||
|
||||
```powershell
|
||||
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
|
||||
```
|
||||
|
||||
## Deploy lên server (Kubernetes)
|
||||
|
||||
```bash
|
||||
kubectl -n wedding rollout restart deploy/wedding-web
|
||||
kubectl -n wedding rollout status deploy/wedding-web
|
||||
```
|
||||
Reference in New Issue
Block a user