Du an la mot website HTML/CSS/JS chay tinh (static), da duoc cap nhat logo thanh CTS AutoTech.
HTML5CSS3JavaScriptthuan
WebCTSAutoTech/
|-- TrangChu.html
|-- GiaoDien.css
|-- XuLy.js
|-- image/
| |-- CTS AutoTech.jpg
|-- README.md
- Doi logo sang
image/CTS AutoTech.jpg - Da gan
GiaoDien.cssvaoTrangChu.html - Da gan
XuLy.jsvaoTrangChu.html - CSS/JS da duoc chinh theo cau truc HTML hien tai de menu/search/mobile hoat dong on dinh hon
Mo file TrangChu.html bang trinh duyet.
- Cai extension
Live Servertrong VS Code. - Chuot phai
TrangChu.html. - Chon
Open with Live Server.
cd c:\Users\PC\Documents\GitHub\WebCTSAutoTech
python -m http.server 5500Mo trinh duyet tai:
http://localhost:5500
- Chay server local (Live Server hoac Python server).
- Tren may tinh, lay IP bang lenh:
ipconfig- Tim
IPv4 Address(vi du192.168.1.23). - Tren dien thoai, mo:
http://192.168.1.23:5500
Neu khong vao duoc, cho phep firewall cho cong 5500.
Repository da push len:
https://github.com/ducanhdev-lab/WebCTS
- Vao
Settings->Pagestrong repo. Source: chonDeploy from a branch.- Chon branch
main, folder/ (root). - Nhan
Save.
Link public sau khi deploy:
https://ducanhdev-lab.github.io/WebCTS/
Luu y: GitHub Pages can 1-5 phut de cap nhat sau moi lan push.
cd c:\Users\PC\Documents\GitHub\WebCTSAutoTech
& "C:\Program Files\Git\cmd\git.exe" add .
& "C:\Program Files\Git\cmd\git.exe" commit -m "update website"
& "C:\Program Files\Git\cmd\git.exe" push origin mainKhong nen sao chep nguyen ban noi dung/anh thuong hieu cua ben thu ba. Nen thay doi text, logo, hinh anh, thong tin lien he theo thuong hieu rieng truoc khi su dung thuong mai.