-
Notifications
You must be signed in to change notification settings - Fork 186
Building Elasticvue
If you want to build elasticvue you have to setup the repository:
git clone https://github.com/cars10/elasticvue.git
cd elasticvueThen you can build your preferred version of elasticvue.
To build the browser extensions for chrome, edge and firefox you have to run:
make build_browser_extensionsThis 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_nginxTo 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_multiarchdockerfile for improved build times)
make build_docker_nginx_multiarchYou can check the Dockerfile to see how you can host elasticvue. But to build the dist folder simply run:
yarn install
yarn buildYou can use this command to build the tauri desktop app for linux inside a docker image:
make build_docker_tauriFind the build artifacts in src-tauri/target/release/bundle
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