2025-12-02 09:30:52 +07:00
2025-12-02 09:30:52 +07:00
2025-11-28 16:27:10 +07:00
2025-11-30 11:43:47 +07:00
2025-11-24 10:56:06 +07:00
2025-11-20 13:10:28 +07:00
2025-12-02 09:30:52 +07:00
c
2024-01-29 10:39:53 +07:00
c
2024-01-28 11:11:14 +07:00
c
2024-01-28 11:27:52 +07:00
s
2024-01-18 23:13:02 +07:00
c
2024-01-28 11:27:52 +07:00
c
2024-02-06 11:46:59 +07:00
2025-11-20 13:10:28 +07:00
2025-11-20 13:10:28 +07:00

Hướng dẫn

Link thiết kế: Giao diện Admin

Repo: https://repo.hurasoft.com/tieptk/admin_hura_8

Theo dõi tiến độ: https://docs.google.com/spreadsheets/d/1Po3ANsG00pm_Y3dnrwuV81cidTCCqepYmR3yPDlIq6c/edit#gid=0

Cài đặt hệ thống

Test và làm việc chính tại web: http://local.hura8_admin/

  • Tải phần mềm XAMPP tại https://www.apachefriends.org/download.html để chạy PHP
  • Chỉnh file hosts trong máy tính C:\Windows\System32\drivers\etc\hosts:
    
    127.0.0.1 local.hura8_admin
            
  • Cài đặt ../xampp/apache/conf/extra/httpd-vhosts.conf của apache trong XAMPP
    
                <VirtualHost *:80>
                    DocumentRoot "/thuc-muc-check-out/admin_hura_8"
                    ServerName local.hura8_admin
                    <Directory "/thuc-muc-check-out/admin_hura_8/">
                        Require all granted
                    </Directory>
                </VirtualHost> 
            
  • Cài đặt ../xampp/apache/conf/httpd.conf của apache trong XAMPP
     
        # AllowOverride controls what directives may be placed in .htaccess files.
        # It can be "All", "None", or any combination of the keywords:
        # AllowOverride FileInfo AuthConfig Limit 
        AllowOverride All
            

Cấu trúc thư mục

  • /template: các file template html chia theo module/view
  • /data: cung cấp dữ liệu cho template và hiển thị dữ liệu trên template qua code Liquid https://shopify.github.io/liquid/
  • /assets: lưu các file ảnh/css/js dùng cho giao diện
  • /package: thư viện code PHP hỗ trợ
  • /inc: các code PHP hỗ trợ
  • index.php: file gốc để truy cập nội dung
  • ajax.php: file gốc để gọi ajax

Cài đặt Composer (dùng tải package của PHP)

Xem hướng dẫn: https://getcomposer.org/doc/00-intro.md#installation-windows

Sau khi cài đặt xong. Mở cmd của Windows và thao tác lệnh sau để cài các thư viện code PHP cần cho dự án này.


    > cd /thuc-muc-check-out/admin_hura_8/package
    > composer i 

Sử dụng Tailwind để style giao diện.

Description
No description provided
Readme 13 MiB
Languages
HTML 58.1%
PHP 23.4%
CSS 18.3%
JavaScript 0.1%
TypeScript 0.1%