Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
Install Golang. Make sure that $GOPATH/bin
is added to system path $PATH
.
Installation steps
Clone the dapp-installer
repository using git:
git clone https://github.com/privatix/dapp-installer.git
cd dapp-installer/tool/ps-runner
go get -d github.com/privatix/dapp-installer/tool/ps-runner...
go get -u github.com/josephspurrier/goversioninfo/cmd/goversioninfo
go generate ./...
go build
Usage
Simply run ps-runner -config filename
or ps-runner -script filename [args...]
Examples
Run powershell script with arguments:
ps-runner -script new-dump.ps1 -installDir "C:\Program Files\Privatix\client" -outFile "C:\Program Files\Privatix\client\logdump.zip"
Run powershell script using configuration file:
ps-runner -config ps-runner.config.json