Skip to content

Commit

Permalink
fastapi run
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddewie committed Jul 21, 2024
1 parent 9f929c8 commit dc693d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ echo 'waiting until postgres ready'
timeout 120 sh -c 'while ! pg_isready --host localhost --user postgres --dbname gis --port 5432; do sleep 1; done'

echo 'starting API'
# TODO fastapi run
exec fastapi dev api.py --port "$PORT"
exec fastapi run api.py --port "$PORT"

0 comments on commit dc693d7

Please sign in to comment.