From 36b717bc02611665de34fc9950ecbe73c48519e0 Mon Sep 17 00:00:00 2001 From: Pradeep Bashyal Date: Thu, 11 Sep 2025 17:12:18 -0500 Subject: [PATCH] Add run-app script --- README.md | 1 - run-app.sh | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 run-app.sh diff --git a/README.md b/README.md index c359969..fcb092f 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,6 @@ How to use the template: 6. Install and sync all the project and development dependencies. ```shell make install - make sync ``` 7. The Gherkin Feature files, step files and pytest files go in `tests` directory: ``` diff --git a/run-app.sh b/run-app.sh new file mode 100755 index 0000000..a5a4013 --- /dev/null +++ b/run-app.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +python3 \ + /app/.venv/bin/gunicorn \ + --bind 0.0.0.0:8080 \ + --worker-tmp-dir /dev/shm \ + -k uvicorn.workers.UvicornWorker \ + app:app