mirror of
https://github.com/siderolabs/omni.git
synced 2026-01-21 02:41:26 +01:00
Fixes: https://github.com/siderolabs/omni/issues/858 Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
19 lines
566 B
Bash
Executable File
19 lines
566 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Copyright (c) 2025 Sidero Labs, Inc.
|
|
#
|
|
# Use of this software is governed by the Business Source License
|
|
# included in the LICENSE file.
|
|
|
|
PLATFORM=$(uname -s | tr "[:upper:]" "[:lower:]")
|
|
ARCHITECTURE=""
|
|
case $(uname -m) in
|
|
i386) echo "32 bit architecture is not supported" exit 1 ;;
|
|
i686) echo "32 bit architecture is not supported" exit 1 ;;
|
|
x86_64) ARCHITECTURE="amd64" ;;
|
|
arm) ARCHITECTURE="arm64" ;;
|
|
esac
|
|
|
|
sudo -E _out/omni-${PLATFORM}-${ARCHITECTURE} --port 8091 >_out/backend.log 2>&1 &
|
|
cd frontend && npm install && npm run serve
|