Skip to content

Commit 223c399

Browse files
author
Tim Middleton
authored
Final fix for templates (#324)
1 parent 875e471 commit 223c399

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

scripts/test-create-starter-polyglot.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ sleep 30
6363
echo "Testing Python Starter"
6464
runCommand create starter python-starter -y -l python
6565
cd python-starter
66-
pip install -r requiements.txt
67-
python main.py > ${LOGS_DIR}/python.log 2>&1 &
66+
python3 -m venv ./venv
67+
. ./venv/bin/activate
68+
pip3 install -r requirements.txt
69+
python3 main.py > ${LOGS_DIR}/python.log 2>&1 &
6870
PID=$!
6971
echo "Sleeping for 30..."
7072
sleep 30

templates/templates.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ templates:
8989
npm install
9090
9191
To run a Coherence server with port 1408 for gRPC:
92+
9293
docker run -d -p 1408:1408 -p 30000:30000 ghcr.io/oracle/coherence-ce:25.03.1
9394
9495
To run the application:
@@ -107,10 +108,11 @@ templates:
107108
pip install -r requirements.txt
108109
109110
To run a Coherence server with port 1408 for gRPC:
111+
110112
docker run -d -p 1408:1408 -p 30000:30000 ghcr.io/oracle/coherence-ce:25.03.1
111113
112114
To run the application:
113-
python main.js
115+
python main.py
114116
files:
115117
- main.py
116118

@@ -124,9 +126,12 @@ templates:
124126
go mod tidy
125127
126128
To run a Coherence server with port 1408 for gRPC:
129+
127130
docker run -d -p 1408:1408 -p 30000:30000 ghcr.io/oracle/coherence-ce:25.03.1
128131
129132
To run the application:
130133
go run main.go
131134
files:
132-
- main.py
135+
- main.go
136+
- go.mod
137+
- go.sum

0 commit comments

Comments
 (0)