1. Admin FE
DATA SPORT
  • DATABASE-SPORT
    • Tổng quan
    • Logic
      • Logic tổng thể
    • Projects
      • Yêu cầu hệ thống
      • Architecture
        • Database
    • Public APi
      • Tổng quan
    • Cron Make File
      • Tổng quan
  • GOLANG-THESPORT
    • Tổng quan
    • Architecture
      • System
      • Database
      • Source Code
    • Development
      • Local
      • Production
  • GOLANG-KSPORT
    • Tổng quan
    • Architecture
      • System
      • Database
      • Source Code
    • Development
      • Production
  • CRONJOB-LARAVEL
    • Tổng quan
    • Logic
      • Logic tổng thể
    • Projects
      • Yêu cầu hệ thống
      • Architecture
        • System
        • Source code
        • Database
      • Development
        • Dev
        • Production
      • Public API
        • Common API
          • League & Cup Profile (Basic)
          • Schedule & Results (Basic)
          • Match Modify Record
          • List of Countries
          • List of Bookmakers
          • Configuration instructions
        • Live animation
          • Configuration instructions
          • Schedule & Results
        • Live Data
          • Livescores for Today
          • Livescores Changes
          • Schedule & Results
          • Schedule Changes
          • Events
          • Stats
          • Corner
          • Lineups
          • Injury
          • Match List of Live Text
          • Live Text
          • Transfer
        • Profile
          • League & Cup Profile
          • Subleague Profile
          • Cup Stage Profile
          • Team Profile
          • Team Profile Copy
          • Team Profile for Search
          • Player Profile
          • Player Profile for Search
          • Referee Profile
          • Teamlist with Player Profile
        • Stats
          • Matches Analysis
          • List of Player Stats (Match)
          • Player Stats (Match)
          • List of Player Stats (League & Cup)
          • Player Stats (League & Cup)
          • League Standing (Get Subleague)
          • League Standing
          • Cup Standing
          • Top Scorer
          • FIFA Ranking
        • Odds (18 bookmakers)
          • Pre-match and In-play Odds (Main)
          • Live Odds Changes (Main)
          • Historical Odds (Main)
          • Future Odds (Main)
          • Pre-match and In-play Odds (All)
          • Live Odds Changes (All)
          • Historical Odds (All)
          • Future Odds (All)
          • European Odds (Halftime)
          • In-play Odds
          • In-play Odds (Halftime)
          • Odd Modify Record
        • European Odds (200+ Bookmakers)
          • European Odds (200+ Bookmakers)
        • Other Odds
          • Outrights
          • First/Last Team To Score (pre-match)
          • Goals Odd/Even (pre-match)
          • Goals Odd/Even (In-play)
          • Number of Goals in Match (pre-match)
          • Number of Goals in Match (In-play)
          • Half Time/Full Time (pre-match)
          • Half Time/Full Time (In-play)
          • Correct Score (pre-match)
          • Correct Score (In-play)
          • Half Time Correct Score (pre-match)
          • Half Time Correct Score (In-play)
          • Handicap Corners (pre-match)
          • Handicap Corners (In-play)
          • Total Corners (pre-match) - Tổng phạt góc trước trận đấu: First Odds
          • Total Corners (In-play) - Tổng số quả phạt góc (Trong trận) - Run Odds
          • Double Chance(pre-match)
          • EuroHandicap(pre-match)
  • GOLANG-WEBSOCKET
    • Tổng Quan
    • Logic
      • Logic tổng thể
    • Projects
      • Yêu cầu hệ thống
      • Architecture
        • System
        • Source code
      • Development
        • Dev
        • Production
      • Public API
        • API
  • ADMIN-BANNER
    • Tổng quan
    • Logic
      • Logic tổng thể
    • Projects
      • Architecture
        • System
        • Source Code
      • Development
        • Develop
        • Production
      • Public API
        • API
      • Database
        • Cấu trúc Database
      • Admin FE
        • HƯỚNG DẪN CÀI ĐẶT MÔI TRƯỜNG DỰ ÁN SPORT ADMIN
        • Hướng dẫn Đăng nhập
        • QUẢN LÝ SITE (SITE MANAGEMENT)
        • QUẢN LÝ GIẢI ĐẤU (LEAGUE MANAGEMENT)
        • QUẢN LÝ NHÀ CUNG CẤP (SUPPLIER MANAGEMENT)
        • TIP & CHUYÊN GIA - TAB QUẢN LÝ TIPS (TIPS MANAGEMENT)
        • WHITELIST
        • QUẢN LÝ MINIGAME (MINIGAME MANAGEMENT)
        • TRAFFIC REPORT
        • TOOLS - RAPID DATA
        • TOOLS - LIVE SITES
        • TOOLS - SUPPLIERS
        • THEME / PLUGIN
        • NGƯỜI DÙNG - PHÂN QUYỀN VÀ HIỂN THỊ (PERMISSION & DISPLAY MANAGEMENT)
        • QUẢN LÝ NGƯỜI DÙNG (USER MANAGEMENT)
        • NGƯỜI DÙNG - QUẢN LÝ NHÓM QUYỀN (ROLE GROUP MANAGEMENT)
  1. Admin FE

HƯỚNG DẪN CÀI ĐẶT MÔI TRƯỜNG DỰ ÁN SPORT ADMIN

HƯỚNG DẪN CÀI ĐẶT MÔI TRƯỜNG DỰ ÁN SPORT ADMIN#

Tài liệu hướng dẫn chuẩn bị môi trường local để chạy hệ thống gồm Frontend và Backend
Phạm vi: clone source code, cài dependency, cấu hình môi trường và khởi động dự án local cho cả frontend Vue và backend PHP.

1. Tổng quan#

Hệ thống Sport Admin gồm 2 thành phần chính:
Frontend (FE): xây dựng bằng Vue, chịu trách nhiệm hiển thị giao diện cho các site domain và xử lý tương tác phía người dùng.
Backend (BE): xây dựng bằng PHP, chịu trách nhiệm cung cấp API và xử lý nghiệp vụ hệ thống.
Mã nguồn được tách thành 2 repository riêng:
Frontend: https://git.nospace.network/thscore/sport-admin/sport-admin-client
Backend: http://git.nospace.network/thscore/sport-admin/sport-admin-api
Sau khi clone source code về máy local, người dùng cần thực hiện lần lượt các bước: clone source, chạy backend, chạy frontend và kiểm tra hệ thống hoạt động trên môi trường dev.

2. Yêu cầu môi trường cài đặt#

Trước khi chạy dự án, cần chuẩn bị sẵn các công cụ sau trên máy:

2.1. Công cụ cần thiết#

Thành phầnMục đích
GitDùng để clone source code từ repository
DockerDùng để chạy backend bằng container
Docker ComposeDùng để khởi tạo các service backend theo file compose
Node.jsDùng để chạy frontend Vue
npmDùng để cài dependency và chạy frontend

2.2. Khuyến nghị#

Nên sử dụng phiên bản Node.js LTS để đảm bảo tương thích dependency frontend.
Cần đảm bảo Docker Desktop hoặc Docker Engine đã được khởi động trước khi start backend.
Máy local cần có quyền truy cập vào domain nội bộ git.nospace.network.

3. Thông tin repository#

Thành phầnĐường dẫn repositoryBranch
Frontendhttps://git.nospace.network/thscore/sport-admin/sport-admin-clientproduction
Backendhttp://git.nospace.network/thscore/sport-admin/sport-admin-apiproduction
Branch Dev:Develop

4. Hướng dẫn chạy dự án#

4.1. Clone source code#

Thực hiện clone cả frontend và backend về máy local:

4.2. Cách chạy project#

cd ../sport-admin-api
- Tạo file .env
- docker compose -f docker-compose-dev.yml up -d

cd ../sport-admin-client
- Tạo file .env
- npm i
- npm run dev
Modified at 2026-03-26 03:29:11
Previous
Cấu trúc Database
Next
Hướng dẫn Đăng nhập
Built with