Skip to content

Commit

Permalink
Added install ps1 script
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-barts committed May 22, 2019
1 parent 4a15840 commit 444123c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
19 changes: 19 additions & 0 deletions 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"
5 changes: 1 addition & 4 deletions install.sh
Expand Up @@ -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"

0 comments on commit 444123c

Please sign in to comment.