Skip to content

Commit 14f4f4f

Browse files
committed
add instructions to sk_python_flask_chatgpt_plugin/README.md for running locally
1 parent 0f9ff1d commit 14f4f4f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sk-python-flask-chatgpt-plugin/README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ On each HTTP request, use these headers:
4848
## Running the starter
4949

5050
To run the console application within Visual Studio Code, just hit `F5`.
51-
As configured in `launch.json` and `tasks.json`, Visual Studio Code will run `poetry install` followed by `python -m flask run sk_python_flask/app.py`. Some users have had issues if there are spaces in their folder names.
51+
As configured in `launch.json` and `tasks.json`, Visual Studio Code will run `poetry install` followed by `python -m flask run sk_python_flask_chatgpt_plugin/app.py`. Some users have had issues if there are spaces in their folder names.
52+
53+
To run the console application using CLI:
54+
1. `poetry install`
55+
2. `python -m flask --app sk_python_flask_chatgpt_plugin/app.py run --port 5050 --debug`
5256

5357
A POST endpoint exists at `localhost:5050/skills/{skill_name}/functions/{function_name}`
5458
For example, send a POST request to `localhost:5050/skills/FunSkill/functions/Joke` with the configuration headers

0 commit comments

Comments
 (0)