Repository navigation
Development
github-actions[bot] edited this page May 16, 2026
·
6 revisions
Guide for developers and contributors who want to build TeleCloud from source or contribute translations. Hướng dẫn dành cho nhà phát triển và người đóng góp muốn tự build TeleCloud hoặc đóng góp bản dịch.
Docker xử lý toàn bộ quá trình build mà không cần cài đặt Go hay Node.js trên máy.
- Clone dự án:
git clone --recursive https://github.com/dabeecao/telecloud-go.git - Build image:
sudo docker build -t telecloud:local . - Chạy image vừa build:
sudo docker run -d -p 8091:8091 -v "$(pwd)/data:/app/data" --env-file .env telecloud:local
- Cài đặt Golang (1.24+) và Node.js.
- Clone với
--recursive(Bắt buộc để lấy code frontend):git clone --recursive https://github.com/dabeecao/telecloud-go.git - Build Frontend:
cd web npm install npm run build cd ..
- Build Backend:
go mod tidy go build -o telecloud
Mã nguồn frontend nằm ở repo: dabeecao/telecloud-frontend.
- Tìm tệp bản dịch trong
static/locales/(VD:vi.json). - Tạo tệp mới (VD:
fr.json) và dịch từen.json. - Thêm ngôn ngữ vào
availableLangstrongstatic/js/common.js. - Gửi Pull Request vào repository frontend.
git clone --recursive https://github.com/dabeecao/telecloud-go.gitsudo docker build -t telecloud:local .
- Install Golang (1.24+) and Node.js.
- Build frontend in
web/usingnpm install && npm run build. - Run
go mod tidyandgo build -o telecloudin root.
Frontend source: dabeecao/telecloud-frontend.
- Edit JSON files in
static/locales/. - Add the language to
availableLangsinstatic/js/common.js. - Submit a Pull Request.