Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
randriu authored Nov 25, 2024
1 parent 1f779ab commit c6a6683
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,6 @@ docker pull randriu/paynt
docker run --rm -it randriu/paynt
python3 paynt.py --help
```
You can make simple script or alias in .bashrc for easier usage

```shell
#!/bin/sh

source /path/to/your/venv/bin/activate
python3 /path/to/your/paynt.py "$@"
deactivate
```

```shell
alias paynt="source /path/to/your/venv/bin/activate && python3 /path/to/your/paynt.py"
```


## Running PAYNT
Expand Down Expand Up @@ -116,11 +103,19 @@ python3 paynt.py models/archive/cav23-saynt/4x3-95 --fsc-synthesis --storm-pomdp
python3 paynt.py models/archive/cav23-saynt/rocks-12 --fsc-synthesis --storm-pomdp --get-storm-result 0
```

The Python environment can be deactivated by runnning
The Python environment can be deactivated by running
```sh
deactivate
```

You might consider creating an alias (e.g. in your `.bashrc`) for simpler usage:
```shell
paynt() {
source /path/to/your/venv/bin/activate
python3 /path/to/your/paynt.py $@
deactivate
}
```

# PAYNT tutorial

Expand Down

0 comments on commit c6a6683

Please sign in to comment.