integrating quart webapp

i want to integrate a quart webapp that is connected to a telegram bot and is started with the telegram bot using subprocess i am not able to get it running i saw there is a flask example but not a quart example
17 Replies
Percy
Percy13mo ago
Project ID: ddec97c0-46c0-49c3-bdb1-9d7517d1147b
justinmissmahl_moonwalkerstoken
ddec97c0-46c0-49c3-bdb1-9d7517d1147b
Brody
Brody13mo ago
what issues are you running into?
justinmissmahl_moonwalkerstoken
it says that it is serving the dapp but when i am genreating a domain it says nothing hre i am starting the quart app like this in the main function of the bot main.py so when the main,py is started the app.py is also started: quart_app_process = subprocess.Popen(["python", "app.py", "--port", "420"]) the bot aswell as the server side database functions are working without problems but it is exposing the webapp right
Brody
Brody13mo ago
quart_app_process = subprocess.Popen(["python", "app.py", "--port", os.getenv("PORT", "420")])
quart_app_process = subprocess.Popen(["python", "app.py", "--port", os.getenv("PORT", "420")])
try that instead
justinmissmahl_moonwalkerstoken
that helped thank you now i see a diffrent problem i have a folder called static in which i have a folder called images in which the images for the webapp are stored localy they arent populated
justinmissmahl_moonwalkerstoken
where is standing banner should be a image
Brody
Brody13mo ago
i dont see how this is a railway issue tbh
justinmissmahl_moonwalkerstoken
when deployed locally they are there
justinmissmahl_moonwalkerstoken
/structure
Brody
Brody13mo ago
doesn't mean its an issue with railway
justinmissmahl_moonwalkerstoken
but with what than
Brody
Brody13mo ago
absolutely no clue at this point, ive never even heard the word "quart" before what start command does railway use to start your app
justinmissmahl_moonwalkerstoken
no the quart app works perfectly now its not populating the graphics from the directory and the start command is the one you send me
Brody
Brody13mo ago
what status code do you get from the image requests
justinmissmahl_moonwalkerstoken
no error code recieved but i figured it out the solution was to switch from local hosting to online hosting of the graphics #
Brody
Brody13mo ago
sounds good