Skip to content

Commit

Permalink
replaced run.py with run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
krokicki committed Dec 2, 2024
1 parent 5f1601a commit d722fc2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 deletions.
4 changes: 2 additions & 2 deletions docs/Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Create a virtualenv and install the dependencies:
source env/bin/activate
pip install -r requirements.txt

The service is written using FastAPI and runs inside of Uvicorn. You can start a dev server quickly with the `run.py` helper script:
The service is written using FastAPI and runs inside of Uvicorn. You can start a dev server quickly with the `run.sh` helper script:

```bash
./run.py --port 8000
./run.sh
```

This is equivalent to running Uvicorn directly, like this:
Expand Down
23 changes: 0 additions & 23 deletions run.py

This file was deleted.

1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uvicorn x2s3.app:app --host 0.0.0.0 --port 8000 --workers 1 --access-log --reload

0 comments on commit d722fc2

Please sign in to comment.