49 lines
2.0 KiB
Markdown
49 lines
2.0 KiB
Markdown
<h1>Hướng dẫn</h1>
|
|
|
|
<p>Link thiết kế: <a href="https://www.figma.com/file/5Km584w3tlnwxOltV5KAjh/281123_HURA8?node-id=328%3A1204&mode=dev"> <strong>Giao diện Admin</strong> </a></p>
|
|
|
|
<h2>Quy định cấu trúc</h2>
|
|
|
|
<p> Mỗi giao diện sẽ tạo 1 file. Tên giao diện đặt theo quy định: <b>ban-hang.html, san-pham.html,....</b> </p>
|
|
|
|
<p>Sử dụng Tailwind để style giao diện.</p>
|
|
|
|
<h2> Tài liệu tham khảo </h2>
|
|
|
|
<ul>
|
|
<li><a href="https://tailwindui.com/"> https://tailwindui.com/ </a></li>
|
|
<li><a href="https://tailblocks.cc/"> https://tailblocks.cc/ </a></li>
|
|
<li><a href="https://www.hyperui.dev/"> https://www.hyperui.dev/ </a></li>
|
|
<li><a href="https://flowbite.com/docs/plugins/charts/"> Biểu đồ </a></li>
|
|
</ul>
|
|
|
|
|
|
<h2 id="huong-dan-su-dung-git">Hướng dẫn up code sử dụng git</h2>
|
|
<p> Các bước up code:
|
|
<ol>
|
|
<li>Lấy tất cả code từ git url về máy</li>
|
|
<li>Kiểm tra trạng thái</li>
|
|
<li>Nếu có sự thay đổi, sẽ thêm file có sự thay đổi (Sẽ được thông báo ở bước 2)</li>
|
|
<li>Tạo ghi chú (Không viết tiếng việt có dấu)</li>
|
|
<li>Upload code</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p></p>
|
|
|
|
<ol>
|
|
<li><strong>git pull (git URL) master:</strong> Lấy code về máy</li>
|
|
<li><strong>git status:</strong> Kiểm tra file nào có sự thay đổi</li>
|
|
<li><strong>git add 'tên file có sự thay đổi':</strong> Là file được báo đỏ ở git status</li>
|
|
<li><strong>git commit -m 'nội dung mô tả' :</strong> Comment nội dung </li>
|
|
<li><strong>git push origin master :</strong> Upload code</li>
|
|
</ol>
|
|
|
|
<p>VD: Upload code từ url 'https://repo.hurasoft.com/ducdt/admin_hura.git', Thêm/Sửa file README.md</p>
|
|
<ol>
|
|
<li>git pull https://repo.hurasoft.com/ducdt/admin_hura.git master</li>
|
|
<li>git status</li>
|
|
<li>git add 'README.md'</li>
|
|
<li>git commit -m 'Huong dan, quy dinh'</li>
|
|
<li>git push origin master</li>
|
|
</ol> |