Skip to content

Commit

Permalink
Merge pull request #11 from yaacov/dont-use-pythonpath
Browse files Browse the repository at this point in the history
Don't use python path
  • Loading branch information
yaacov authored Jul 28, 2024
2 parents 76d5cc7 + a4d93f0 commit 4671e9c
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 4671e9c

Please sign in to comment.