-
Notifications
You must be signed in to change notification settings - Fork 189
Building Elasticvue
Carsten König edited this page Jul 10, 2023
·
25 revisions
If you want to build elasticvue you have to setup the repository:
# clone
git clone https://github.com/cars10/elasticvue.git
cd elasticvue
# install dependencies
yarn installThen you can build your preferred version of elasticvue.
To build the browser extensions for chrome/edge (2020) you have to run:
make build_browser_extensionsThis will create zip files in ./artifacts, for example elasticvue-0.30.1-chrome.zip.
You can directly use the included Dockerfile to build the docker image:
# building
docker build -t elasticvue .
# running
docker run -p 8080:8080 elasticvueTo 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)
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t elasticvue -f Dockerfile_multiarch .You can check the Dockerfile to see how you can host elasticvue. But to build the dist folder simply run:
yarn buildElasticvue uses tauri to create the desktop application.
- Install rust
- Setup tauri (install the npm tauri cli)
- Build for prod
yarn tauri:build