Skip to content

Latest commit

 

History

173 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Cần cài đặt trước khi cài app

  • Ansible:
sudo apt install ansible

Cài đặt app

Clone về máy

git clone --recurse-submodules https://github.com/nguyenhieu/hpc_root.git

cd hpc_root

Note

Sau khi clone thì tất cả các microservice sẽ có trong thư mục hpc_root.

Chạy Ansible

ansible-playbook deploy.yml

Quy trình làm việc hàng ngày

Cập nhật code (pull)

git pull --recurse-submodules

Phát triển tính năng

  • VD: Cần sửa code trong System-Management
  1. Đi vào service và checkout nhánh:
cd System-Management
git checkout main # hoặc nhánh mà nhóm dùng idk 
git pull origin main
  1. Code, commit and push (Trong microservice của mình):
# Code xong
git add . 
git commit -m "viet j do"
git push origin main
  1. Cập nhật Root Repo:
cd .. # quay ra hpc_root
git status
git add System-Management
git commit -m "Update System-Management to latest version"
git push origin main

About

Hệ thống điện tử HPC

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages