From 0ef60eaf7b1b658f5722eb06c9d6d9171fa6376b Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Tue, 29 Apr 2025 20:12:13 +0200 Subject: [PATCH] fixes for deploy --- deployment/bare_metal/start.sh | 10 ++++++++-- dht-node/tsconfig.json | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/deployment/bare_metal/start.sh b/deployment/bare_metal/start.sh index 8695e2a23..2e4237476 100755 --- a/deployment/bare_metal/start.sh +++ b/deployment/bare_metal/start.sh @@ -4,13 +4,19 @@ # bun if ! command -v bun &> /dev/null then + if ! command -v unzip &> /dev/null + then + echo "'unzip' is missing, will be installed now!" + sudo apt-get install -y unzip + fi echo "'bun' is missing, will be installed now!" - curl -fsSL https://bun.sh/install | bash + curl -fsSL https://bun.sh/install | BUN_INSTALL=/usr/local bash + export PATH="/root/.bun/bin:${PATH}" fi if ! command -v turbo &> /dev/null then echo "'turbo' is missing, will be installed now!" - bun global add turbo + bun install --global turbo fi # helper functions diff --git a/dht-node/tsconfig.json b/dht-node/tsconfig.json index f8c61ffdd..757d61e02 100644 --- a/dht-node/tsconfig.json +++ b/dht-node/tsconfig.json @@ -14,7 +14,7 @@ // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ // "sourceMap": true, /* Generates corresponding '.map' file. */ // "outFile": "./", /* Concatenate and emit output to single file. */ - "outDir": "./build/src", /* Redirect output structure to the directory. */ + "outDir": "./build", /* Redirect output structure to the directory. */ // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ // "composite": true, /* Enable project compilation */ // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */