Skip to content

Commit

Permalink
Add run.command for MacOs
Browse files Browse the repository at this point in the history
  • Loading branch information
snipem committed May 7, 2023
1 parent 97b833e commit 25e549e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,15 @@ Enable the "Always Record" checkbox to always record replays. Otherwise will onl

You will have to have a running Python installation. Look [here](https://wiki.python.org/moin/BeginnersGuide/Download) for instructions.

If you are on MacOS/Linux edit the file `run.sh` and replace `<...>` with your IP address. Run the file with a double click afterwards.
* If you are on Windows edit the file `run.bat` and replace `<...>` with your IP address. Run the file with a double click afterwards.

If you are on Windows edit the file `run.bat` and replace `<...>` with your IP address. Run the file with a double click afterwards.
* If you are on MacOS edit the file `run.command` and replace `<...>` with your IP address. Run the file with a double click afterwards.

* If you are on Linux edit the file `run.sh` and replace `<...>` with your IP address. Run the file with a double click afterwards.

The commands `pip3` or `python3` may be different on your OS. Try `pip` or `python` instead.

### Detailed Steps
## How to run for experienced users

1. (Once) `pip3 install -r requirements.txt` to install Python dependencies
2. (Optional) Download the list of car names with `python3 helper/download_cars_csv.py`. Without this file, car names will only show as `CAR-ID-123`.
Expand Down
9 changes: 9 additions & 0 deletions run.command
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

cd "$(dirname "$0")"

pip3 install -r requirements.txt

python3 helper/download_cars_csv.py

GT7_PLAYSTATION_IP=<EDIT_CONSOLE_IP_ADDRESS> python3 -m bokeh serve .
Empty file modified run.sh
100644 → 100755
Empty file.

0 comments on commit 25e549e

Please sign in to comment.