Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarresi committed Nov 5, 2018
1 parent 351d26f commit faacab4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This project aim to **end you pain** with test against PLC!

## How does it works

### Use it from source code
### Use it from source code or binary
Build and Start the software (don't forget to copy the native library you need)

```shell
Expand All @@ -18,7 +18,13 @@ cp native\win\snap7.dll bin\Debug\netcoreapp2.0\snap7.dll
dotnet bin\Debug\netcoreapp2.0\SoftPlc.dll --plcPort=103 --urls="http://localhost:8080/"
```

Otherwise you can download and start the [latest release](https://github.com/fbarresi/SoftPlc/releases/latest).
Otherwise you can download and start the [latest release](https://github.com/fbarresi/SoftPlc/releases/latest) (i.e. with Powershell).

```shell
Expand-Archive softplc1.0.41-amd64.zip.zip -DestinationPath c:/temp/softplc
cd c:/temp/softplc/
dotnet SoftPlc.dll --plcPort=103 --urls="http://localhost:8080/"
```

### Use it with docker
Pull the actual docker image for your platform [see available tags](https://hub.docker.com/r/fbarresi/softplc/tags/) and run it with the correct port binding
Expand Down

0 comments on commit faacab4

Please sign in to comment.