Merge branch 'feature/DiscoPanel' of https://github.com/DragoQC/ProxmoxVED into feature/DiscoPanel
This commit is contained in:
commit
8e2ea979a1
@ -18,7 +18,6 @@ msg_info "Installing Dependencies"
|
|||||||
$STD apt install -y build-essential
|
$STD apt install -y build-essential
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
|
||||||
msg_info "Installing Docker"
|
msg_info "Installing Docker"
|
||||||
DOCKER_CONFIG_PATH='/etc/docker/daemon.json'
|
DOCKER_CONFIG_PATH='/etc/docker/daemon.json'
|
||||||
mkdir -p $(dirname $DOCKER_CONFIG_PATH)
|
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)
|
$STD sh <(curl -fsSL https://get.docker.com)
|
||||||
msg_ok "Installed Docker"
|
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_nodejs
|
||||||
|
setup_go
|
||||||
|
|
||||||
msg_info "Building DiscoPanel frontend"
|
msg_info "Building DiscoPanel frontend"
|
||||||
cd /opt/discopanel/web/discopanel
|
cd /opt/discopanel/web/discopanel
|
||||||
@ -36,8 +35,6 @@ $STD npm install
|
|||||||
$STD npm run build
|
$STD npm run build
|
||||||
msg_ok "Built DiscoPanel frontend"
|
msg_ok "Built DiscoPanel frontend"
|
||||||
|
|
||||||
setup_go
|
|
||||||
|
|
||||||
msg_info "Building DiscoPanel backend"
|
msg_info "Building DiscoPanel backend"
|
||||||
cd /opt/discopanel
|
cd /opt/discopanel
|
||||||
$STD go build -o discopanel cmd/discopanel/main.go
|
$STD go build -o discopanel cmd/discopanel/main.go
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user