mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
Add Linux packaging instructions to build (#1126)
This commit is contained in:
parent
94a0a8b632
commit
f197be1f1c
19
BUILD.md
19
BUILD.md
@ -35,6 +35,19 @@ Arch:
|
||||
sudo pacman -S zip zig
|
||||
```
|
||||
|
||||
##### For packaging
|
||||
|
||||
For packaging, the following additional packages are required:
|
||||
|
||||
- `fpm` — If you're on x64 you can skip this. If you're on ARM64, install fpm via [Gem](https://rubygems.org/gems/fpm)
|
||||
- `rpm` — If you're not on Fedora, install RPM via your package manager.
|
||||
- `snapd` — If your distro doesn't already include it, [install `snapd`](https://snapcraft.io/docs/installing-snapd)
|
||||
- `lxd` — [Installation instructions](https://canonical.com/lxd/install)
|
||||
- `snapcraft` — Run `sudo snap install snapcraft --classic`
|
||||
- `libarchive-tools` — Install via your package manager
|
||||
- `libopenjp2-tools` — Install via your package manager
|
||||
- `squashfs-tools` — Install via your package manager
|
||||
|
||||
#### Windows
|
||||
|
||||
You will need the GNU build toolchain installed in order for Go to work on Windows. In most cases, this requires installing MinGW-w64.
|
||||
@ -118,6 +131,12 @@ Run the following command to generate a production build and package it. This le
|
||||
task package
|
||||
```
|
||||
|
||||
If you're on Linux ARM64, run the following:
|
||||
|
||||
```sh
|
||||
USE_SYSTEM_FPM=1 task package
|
||||
```
|
||||
|
||||
## Debugging
|
||||
|
||||
### Frontend logs
|
||||
|
Loading…
Reference in New Issue
Block a user