diff --git a/install/storybook-install.sh b/install/storybook-install.sh index c9b5c46f..83037a24 100644 --- a/install/storybook-install.sh +++ b/install/storybook-install.sh @@ -20,13 +20,14 @@ mkdir -p /opt/storybook cd /opt/storybook msg_ok "Important: Interactive configuration will start now." -npx storybook@latest init --yes +npx -y storybook@latest init --yes PROJECT_PATH=$(find /opt/storybook -maxdepth 2 -name ".storybook" -type d 2>/dev/null | head -n1 | xargs dirname) if [[ -z "$PROJECT_PATH" ]]; then PROJECT_PATH="/opt/storybook" fi +cd "$PROJECT_PATH" echo "$PROJECT_PATH" >/opt/storybook/.projectpath msg_info "Creating Service" diff --git a/install/storyteller-install.sh b/install/storyteller-install.sh index 221b0147..476f210c 100644 --- a/install/storyteller-install.sh +++ b/install/storyteller-install.sh @@ -24,13 +24,8 @@ msg_ok "Installed Dependencies" NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs -msg_info "Installing Readium" -READIUM_VERSION="0.6.5" -mkdir -p /opt/readium -$STD curl -fsSL "https://github.com/readium/go-toolkit/releases/download/${READIUM_VERSION}/readium-x86_64-linux" -o /opt/readium/readium -chmod +x /opt/readium/readium -ln -sf /opt/readium /usr/local/bin/readium -msg_ok "Installed Readium" +fetch_and_deploy_gh_release "readium" "readium/cli" "prebuild" "latest" "/opt/readium" "readium_linux_x86_64.tar.gz" +ln -sf /opt/readium/readium /usr/local/bin/readium fetch_and_deploy_gl_release "storyteller" "storyteller-platform/storyteller" "tarball" "latest" "/opt/storyteller" diff --git a/install/tubearchivist-install.sh b/install/tubearchivist-install.sh index f4c2e0ba..e2c48481 100644 --- a/install/tubearchivist-install.sh +++ b/install/tubearchivist-install.sh @@ -33,7 +33,7 @@ fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/loc msg_info "Installing ElasticSearch" setup_deb822_repo "elastic-8.x" "https://artifacts.elastic.co/GPG-KEY-elasticsearch" "https://artifacts.elastic.co/packages/8.x/apt" "stable" "main" -$STD apt install -y elasticsearch +ES_JAVA_OPTS="-Xms1g -Xmx1g" $STD apt install -y elasticsearch msg_ok "Installed ElasticSearch" msg_info "Configuring ElasticSearch" @@ -44,6 +44,8 @@ path.logs: /var/log/elasticsearch path.repo: ["/var/lib/elasticsearch/snapshot"] network.host: 127.0.0.1 xpack.security.enabled: false +xpack.security.transport.ssl.enabled: false +xpack.security.http.ssl.enabled: false EOF mkdir -p /var/lib/elasticsearch/snapshot chown -R elasticsearch:elasticsearch /var/lib/elasticsearch/snapshot