app with uvicorn

This commit is contained in:
Dmitry Afanasyev 2022-08-16 11:48:21 +03:00
parent 296e6b77ca
commit 734bbd836e

View File

@ -4,4 +4,4 @@
echo "starting the bot"
cd /opt/mosgortrans \
&& source /home/balsh/.cache/pypoetry/virtualenvs/mosgortrans-3eZxMcY3-py3.10/bin/activate \
&& python main.py
&& uvicorn app.main:create_app --host localhost --port 8084 --reload --factory