Skip to content

Commit

Permalink
MCS-1815 MCS-1930 Updated webenabled README and requirements file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasSchellenbergNextCentury committed Dec 5, 2023
1 parent 9895158 commit 25f89dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 2 additions & 5 deletions webenabled/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@

First, "git clone" this repository. Then run the following commands from this folder to setup your python environment:

_(TODO: Remove the 4th line once 0.7.0 is released)_

```
python3 -m venv --prompt webenabled venv
source venv/bin/activate
python -m pip install --upgrade pip setuptools wheel
python -m pip install -e ../
python -m pip install -r requirements.txt
```

Expand All @@ -29,9 +26,9 @@ scene files will appear on the web page

First, run `cache_addressables` to cache all addressable assets and prevent possible timeout issues. You should do this each time you reboot your machine.

For development, run `python mcsweb.py` to start the flask server with host `0.0.0.0` (so the page will be accessable from any machine on the network) and port `8080`.
Then, run `python mcsweb.py` to start the flask server with host `0.0.0.0` (so the page will be accessable from any machine on the network) and port `8080`.

For production, use a WSGI server (not sure what to put here....)
Alternatively, run `python mcsweb.py` to see all of the available options. The `--debug` flag is very helpful for development.

## Use

Expand Down
1 change: 1 addition & 0 deletions webenabled/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ isort==5.11.5; python_version<"3.8"
isort==5.12.0; python_version>="3.8"
psutil==5.9.5
pytest==7.3.0
waitress==2.1.2

0 comments on commit 25f89dd

Please sign in to comment.