R
Railway5mo ago
Homanti

How to upload a Python Flet application to hosting?

I wrote a small translator program for tests and tried to upload it to the hosting, but I saw: import flet as ft def main(page: ft.Page): page.title = "PyTranslate" if name == 'main': ft.app(target=main, view=ft.WEB_BROWSER)
No description
Solution:
@Homanti - heres the flet template https://railway.app/template/gIcMS9 deploy this, it will then create a new repo in your github account so you can work on it...
Jump to solution
15 Replies
Percy
Percy5mo ago
Project ID: N/A
Percy
Percy5mo ago
Project ID: N/A
Adam
Adam5mo ago
Does your Railway service have any logs?
Homanti
Homanti5mo ago
No description
Adam
Adam5mo ago
mind sending the very top of your build logs?
Homanti
Homanti5mo ago
where is it?
Adam
Adam5mo ago
No description
Brody
Brody5mo ago
flet is very similar to streamlet, I have a template for streamlet so I'll be making a template for flet now too, will update here once I have a procedure on how to get a flet app working on railway
Adam
Adam5mo ago
Thanks Brody
Homanti
Homanti5mo ago
Pastebin
[Region: us-west1]==============Using Nixpacks==============co - Pa...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Brody
Brody5mo ago
yeah nixpacks doesn't know what flet is, it's not going to be able to deploy it out of the box. will update soon
Homanti
Homanti5mo ago
Wow thanks
Solution
Brody
Brody5mo ago
@Homanti - heres the flet template https://railway.app/template/gIcMS9 deploy this, it will then create a new repo in your github account so you can work on it
Homanti
Homanti5mo ago
Thanks a lot
Brody
Brody5mo ago
no problem!
Want results from more Discord servers?
Add your server
More Posts