Skip to content

Commit 2b9f529

Browse files
author
Kristan Kenney
committed
Merge branch 'devtools-installer-bootstrap'
2 parents 17e1947 + 179796f commit 2b9f529

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/hst_bootstrap_install.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
# Clean installation bootstrap for development purposes only
4+
# Usage: ./hst_bootstrap_install.sh [fork] [branch] [os]
5+
# Example: ./hst_bootstrap_install.sh hestiacp master ubuntu
6+
7+
# Define variables
8+
fork=$1
9+
branch=$2
10+
os=$3
11+
12+
# Download specified installer and compiler
13+
wget https://raw.githubusercontent.com/$fork/hestiacp/$branch/install/hst-install-$os.sh
14+
wget https://raw.githubusercontent.com/$fork/hestiacp/$branch/src/hst_autocompile.sh
15+
16+
# Execute compiler and build hestia core package
17+
chmod +x hst_autocompile.sh
18+
./hst_autocompile.sh --hestia master no
19+
20+
# Execute Hestia Control Panel installer with default dummy options for testing
21+
bash hst-install-$os.sh -f -y no -e admin@test.local -p P@ssw0rd -s hestia-$branch-$os.test.local --with-debs /tmp/hestiacp-src/debs

0 commit comments

Comments
 (0)