Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

ubuntu20.04中构建Linux-x64和Linux-arm64版本tailchat客户端步骤 || = Steps to build Linux-x64 and Linux-arm64 version tailchat client in ubuntu20.04

オープン
#293 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
linux, typescript, ubuntu

調査の方向性

client/desktop プロジェクトから始め、ここで言及されている yarn、build、Linux パッケージングコマンドについて、既存のドキュメントと package scripts を確認してください。release/build の出力パスを含め、Ubuntu 20.04 上で amd64 と arm64 の手順を検証してください。別のユーザーがその手順に従って両方の deb パッケージを生成し、インストールできれば、ドキュメントは完成です。

索引モデルが issue の本文から書いたものです。

説明

1.环境准备

确保开发环境安装了必要的工具和依赖,以下是 Ubuntu 系统下的安装命令:
sudo apt update
sudo apt install -y yarn nodejs npm build-essential fakeroot libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2

2. 安装依赖

cd tailchat-1.11.10/client/desktop
yarn

3. 构建项目

运行以下命令构建项目:
yarn build

4. 生成 deb`包

生成 amd64 架构的 deb
yarn package:nodebug --linux deb --x64
生成 arm64 架构的 deb
若要构建 arm64 架构的包,在非 arm64 环境下可借助交叉编译工具。先安装 qemu-user-static 来模拟 arm64 环境:
sudo apt install -y qemu-user-static
yarn package:nodebug --linux deb --arm64

5. 查找生成的 deb

构建完成后,deb 包会生成在 ./tailchat-1.11.10/client/desktop/release/build 目录下,文件名类似 Tailchat-<版本号>-amd64.debTailchat-<版本号>-arm64.deb

完整流程示例

sudo apt update
sudo apt install -y yarn nodejs npm build-essential fakeroot libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2
git clone <项目仓库地址>
cd tailchat-1.11.10/client/desktop
yarn
yarn build

生成 amd64 架构的 deb 包

yarn package:nodebug --linux deb --x64

安装交叉编译工具(用于构建 arm64 架构)

sudo apt install -y qemu-user-static

生成 arm64 架构的 deb 包

yarn package:nodebug --linux deb --arm64
按照以上步骤操作,就能构建出适配 Ubuntu 20.04-amd64 和 Ubuntu 20.04-arm64 版本的 deb 包。

安装方法

sudo apt install ./tailchat-desktop_0.1.0_amd64.deb
此时在开始菜单会生成一个tailchat启动项,单击打开,填写服务器地址就可以使用,enjoy it!


1. Environment preparation

Make sure that the development environment has the necessary tools and dependencies installed. The following are the installation commands under the Ubuntu system:
sudo apt update
sudo apt install -y yarn nodejs npm build-essential fakeroot libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2

2. Installation dependencies

cd tailchat-1.11.10/client/desktop
yarn

3. Build the project

Run the following command to build the project:
yarn build

4. Generate deb` package

Generate the deb package of amd64 architecture
yarn package:nodebug --linux deb --x64
Generate the deb package for arm64 architecture
To build a package for the arm64 architecture, you can use the cross-compilation tool in non-arm64environments. Installqemu-user-staticfirst to simulate thearm64` environment:
sudo apt install -y qemu-user-static
yarn package:nodebug --linux deb --arm64

5. Find the generated deb package

After the build is completed, the deb package will be generated in the ./tailchat-1.11.10/client/desktop/release/build directory, with the file names similar to Tailchat-<version number>-amd64.deb and Tailchat-<version number>-arm64.deb.

Complete process example

sudo apt update
sudo apt install -y yarn nodejs npm build-essential fakeroot libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2
git clone
cd tailchat-1.11.10/client/desktop
yarn
yarn build

Generate deb packages for amd64 architecture

yarn package:nodebug --linux deb --x64

Install cross-compilation tool (for building arm64 architecture)

sudo apt install -y qemu-user-static

Generate deb packages for arm64 architecture

yarn package:nodebug --linux deb --arm64
Follow the above steps to build a deb package that is suitable for Ubuntu 20.04-amd64 and Ubuntu 20.04-arm64 versions.

Installation method

sudo apt install ./tailchat-desktop_0.1.0_amd64.deb
At this time, a tailchat startup item will be generated in the Start menu. Click Open and fill in the server address to use it. Enjoy it!

主要言語
TypeScript
スター
3.6k
フォーク
398
平均マージ
1時間 14分
マージ済み PR(30日)
2

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

msgbyte/tailchat のほかの issue

msgbyte/tailchat の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。