diff --git a/install.ps1 b/install.ps1 new file mode 100644 index 0000000..3198ae7 --- /dev/null +++ b/install.ps1 @@ -0,0 +1,19 @@ +Write-Output "---------------------------------" +Write-Output "| Installing Hornet |" +Write-Output "---------------------------------" + + +Write-Output "[-] Cleaning up environment" +docker.exe stop hornet +docker.exe rm hornet + +Write-Output "[+] Building Container" +docker.exe build -t hornetsrv:v1 . + +Write-Output "[+] Running Container" +docker.exe run -d -it -p 1337:80 -p 8080:8080 --name=hornet hornetsrv:v1 + +Write-Output "[*] Setup complete" +docker.exe ps + +Write-Output "[*] Access webinterface under http://localhost:1337" \ No newline at end of file diff --git a/install.sh b/install.sh index 523a468..3a6dc93 100644 --- a/install.sh +++ b/install.sh @@ -16,7 +16,4 @@ docker run -d -it -p 1337:80 -p 8080:8080 --name=hornet hornetsrv:v1 echo "[*] Setup complete" docker ps -echo "[*] Access webinterface under http://localhost:1337" - - - +echo "[*] Access webinterface under http://localhost:1337" \ No newline at end of file