-
Notifications
You must be signed in to change notification settings - Fork 159
Building Elasticvue
Carsten König edited this page Jan 6, 2025
·
20 revisions
If you want to build elasticvue you have to setup the repository:
# clone
git clone https://github.com/cars10/elasticvue.git
cd elasticvue
Then you can build your preferred version of elasticvue.
To build the browser extensions for chrome/edge (2020) and firefox you have to run:
make build_browser_extensions
This will create zip files in ./artifacts
, for example elasticvue-1.0.0-chrome.zip
.
You can directly use the included Dockerfile
to build the docker image:
make build_docker_nginx
make run_docker_nginx
To build the arm images while on amd64 we can use buildx
.
- Install qemu (for arch:
pacman -S qemu-arch-extra
) - Create your buildx builder
docker buildx create --name mybuilder
docker buildx use mybuilder
docker buildx inspect --bootstrap
- Install qemu emulators
docker run -it --rm --privileged tonistiigi/binfmt --install all
- Build (make sure to use the
Dockerfile_multiarch
dockerfile for improved build times)
make build_docker_nginx_multiarch
You can check the Dockerfile
to see how you can host elasticvue. But to build the dist
folder simply run:
yarn install
yarn build
Elasticvue uses tauri to create the desktop application.
- Install rust
- Setup tauri (install the npm tauri cli)
- Build for prod
make build_tauri
Find the build artifacts in src-tauri/target/release/bundle