Skip to content

Commit

Permalink
Don't use python path
Browse files Browse the repository at this point in the history
Signed-off-by: yaacov <kobi.zamir@gmail.com>
  • Loading branch information
yaacov committed Jul 28, 2024
1 parent 76d5cc7 commit a4d93f0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test:

run:
@echo "Running driver logic server ..."
PYTHONPATH=$(SRC_DIR):$$PYTHONPATH python rose/main.py --port $(PORT) --driver $(DRIVER_PATH)
python main.py --port $(PORT) --driver $(DRIVER_PATH)

build-image:
@echo "Building container image ..."
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ podman run --rm --network host -it quay.io/rose/rose-game-ai-reference:latest

Clone this repository, and make sure you have a game engine running.

Install requirements:

```bash
# Install requirements
pip install -r requirements.txt
pip install -r requirements-dev.txt
```

Write your own driving module, you can use the file `mydriver.py`:

```bash
Expand All @@ -48,7 +56,7 @@ vi mydriver.py
Run using `mydriver.py` as the driving module:

```bash
make run
python main.py --driver mydriver.py
```

## Running ROSE game components containerized
Expand Down
File renamed without changes.

0 comments on commit a4d93f0

Please sign in to comment.