diff --git a/scripts/test-create-starter-polyglot.sh b/scripts/test-create-starter-polyglot.sh index fdea459..bf39e42 100755 --- a/scripts/test-create-starter-polyglot.sh +++ b/scripts/test-create-starter-polyglot.sh @@ -63,8 +63,10 @@ sleep 30 echo "Testing Python Starter" runCommand create starter python-starter -y -l python cd python-starter -pip install -r requiements.txt -python main.py > ${LOGS_DIR}/python.log 2>&1 & +python3 -m venv ./venv +. ./venv/bin/activate +pip3 install -r requirements.txt +python3 main.py > ${LOGS_DIR}/python.log 2>&1 & PID=$! echo "Sleeping for 30..." sleep 30 diff --git a/templates/templates.yaml b/templates/templates.yaml index 4131449..1c97443 100644 --- a/templates/templates.yaml +++ b/templates/templates.yaml @@ -89,6 +89,7 @@ templates: npm install To run a Coherence server with port 1408 for gRPC: + docker run -d -p 1408:1408 -p 30000:30000 ghcr.io/oracle/coherence-ce:25.03.1 To run the application: @@ -107,10 +108,11 @@ templates: pip install -r requirements.txt To run a Coherence server with port 1408 for gRPC: + docker run -d -p 1408:1408 -p 30000:30000 ghcr.io/oracle/coherence-ce:25.03.1 To run the application: - python main.js + python main.py files: - main.py @@ -124,9 +126,12 @@ templates: go mod tidy To run a Coherence server with port 1408 for gRPC: + docker run -d -p 1408:1408 -p 30000:30000 ghcr.io/oracle/coherence-ce:25.03.1 To run the application: go run main.go files: - - main.py + - main.go + - go.mod + - go.sum