or you can either use a local `devsys`/`almsys`, like published here:
* https://github.com/gbraad-devenv/fedora
* https://github.com/gbraad-devenv/almalinux
### Preparation
Install the following packages to develop and build:
```
$ sudo dnf install -y make npm
```
and to make the RPM you need:
```
$ sudo rpm-build gettext libappstream-glib
```
### Build
To perform a development build:
```
$ npx webpack --mode development
````
To perform a production build:
```
$ make
```
After the build, copy contents to `/usr/share/cockpit/tailscale`, `/usr/share/local/cockpit/tailscale` or `~/.local/share/cockpit/tailscale`
For convenience, you can also create a symlink to `~/.local/share/cockpit/tailscale` to `$PWD/dist`. However, you will need to logout/login because Cockpit caches the page and assets.
### Tailscale systemd image
For example, on an instance of [spotsnel/tailscale-systemd](https://github.com/spotsnel/tailscale-systemd):