thisAKcode / fastapi_streetart_map

0 stars 0 forks source link

@thisAKcode how do you run the app? Trying `uvicorn router:app` in the app directory, but getting a 500 error: #11

Closed thisAKcode closed 1 year ago

thisAKcode commented 1 year ago
    @thisAKcode how do you run the app? Trying `uvicorn router:app` in the app directory, but getting a 500 error:
image

_Originally posted by @bbelderbos in https://github.com/thisAKcode/fastapi_streetart_map/issues/9#issuecomment-1301015643_

thisAKcode commented 1 year ago

is it only failing to get to /docs/ ?

I run it like that.

cd c:\fastapi_project1  && venv\Scripts\activate
cd app
uvicorn main:app --reload
bbelderbos commented 1 year ago

sweet, works now (http://localhost:8000/docs), thanks :)