mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-21 23:43:25 +01:00
Update start-ipfs-server.ps1
This commit is contained in:
parent
3ccce3044a
commit
ade93f798c
@ -17,8 +17,8 @@ try {
|
||||
Write-Host "⏳ (1/5) Searching for IPFS executable... " -noNewline
|
||||
& ipfs --version
|
||||
if ($lastExitCode -ne "0") { throw "Can't execute 'ipfs' - make sure IPFS is installed and available" }
|
||||
"⏳ (2/5) Init IPFS with server profile..."
|
||||
& ipfs init --profile server
|
||||
"⏳ (2/5) Init IPFS with profile 'lowpower'..."
|
||||
& ipfs init --profile lowpower
|
||||
|
||||
"⏳ (3/5) Configuring IPFS..."
|
||||
& ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001
|
||||
|
Loading…
Reference in New Issue
Block a user