Running into this error:
(venv) ryanchen@Ryans-MacBook-Pro resy_bot % python main.py
Traceback (most recent call last):
File "/Users/ryanchen/Desktop/Developer/resy_bot/main.py", line 209, in
main()
~~~~^^
File "/Users/ryanchen/Desktop/Developer/resy_bot/main.py", line 205, in main
run_web(host=args.host, port=args.port)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ryanchen/Desktop/Developer/resy_bot/main.py", line 50, in run_web
app = create_app(db, daemon)
File "/Users/ryanchen/Desktop/Developer/resy_bot/web/app.py", line 39, in create_app
app.mount("/static", StaticFiles(directory=str(STATIC_DIR)), name="static")
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ryanchen/Desktop/Developer/resy_bot/venv/lib/python3.14/site-packages/starlette/staticfiles.py", line 56, in init
raise RuntimeError(f"Directory '{directory}' does not exist")
RuntimeError: Directory '/Users/ryanchen/Desktop/Developer/resy_bot/web/static' does not exist
Running into this error:
(venv) ryanchen@Ryans-MacBook-Pro resy_bot % python main.py
Traceback (most recent call last):
File "/Users/ryanchen/Desktop/Developer/resy_bot/main.py", line 209, in
main()
~~~~^^
File "/Users/ryanchen/Desktop/Developer/resy_bot/main.py", line 205, in main
run_web(host=args.host, port=args.port)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ryanchen/Desktop/Developer/resy_bot/main.py", line 50, in run_web
app = create_app(db, daemon)
File "/Users/ryanchen/Desktop/Developer/resy_bot/web/app.py", line 39, in create_app
app.mount("/static", StaticFiles(directory=str(STATIC_DIR)), name="static")
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ryanchen/Desktop/Developer/resy_bot/venv/lib/python3.14/site-packages/starlette/staticfiles.py", line 56, in init
raise RuntimeError(f"Directory '{directory}' does not exist")
RuntimeError: Directory '/Users/ryanchen/Desktop/Developer/resy_bot/web/static' does not exist