diff --git a/install/discopanel-install.sh b/install/discopanel-install.sh index 4064f629b..77293cb3c 100644 --- a/install/discopanel-install.sh +++ b/install/discopanel-install.sh @@ -18,7 +18,6 @@ msg_info "Installing Dependencies" $STD apt install -y build-essential msg_ok "Installed Dependencies" - msg_info "Installing Docker" DOCKER_CONFIG_PATH='/etc/docker/daemon.json' mkdir -p $(dirname $DOCKER_CONFIG_PATH) @@ -26,9 +25,9 @@ echo -e '{\n "log-driver": "journald"\n}' >/etc/docker/daemon.json $STD sh <(curl -fsSL https://get.docker.com) msg_ok "Installed Docker" -fetch_and_deploy_gh_release "discopanel" "nickheyer/discopanel" "tarball" "latest" "/opt/discopanel" - +fetch_and_deploy_gh_release "discopanel" "nickheyer/discopanel" "tarball" setup_nodejs +setup_go msg_info "Building DiscoPanel frontend" cd /opt/discopanel/web/discopanel @@ -36,8 +35,6 @@ $STD npm install $STD npm run build msg_ok "Built DiscoPanel frontend" -setup_go - msg_info "Building DiscoPanel backend" cd /opt/discopanel $STD go build -o discopanel cmd/discopanel/main.go