Skip to content

Commit

Permalink
MCS-1813 Added webenabled Windows pyinstaller instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasSchellenbergNextCentury committed Sep 21, 2023
1 parent 321675c commit cc7e410
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions webenabled/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ http://<machine.ip.address>:8080/mcs

## Pyinstaller

### Linux and Mac

Setup:

```
Expand All @@ -74,3 +76,13 @@ Cleanup (do before you need to rebuild):
```
rm -rf build/ dist/
```

### Windows

Same as the Linux/Mac instructions, except as noted below.

Build:

```
pyinstaller --add-data "templates;templates" --add-data "static;static" --add-data "scenes;scenes" --console mcsweb.py --log-level=DEBUG -y *>&1 | Tee-Object -Append -FilePath pyinstaller.out
```

0 comments on commit cc7e410

Please sign in to comment.