R
Railway10mo 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
Percy10mo ago
Project ID: N/A
Percy
Percy10mo ago
Project ID: N/A
Adam
Adam10mo ago
Does your Railway service have any logs?
Homanti
Homanti10mo ago
No description
Adam
Adam10mo ago
mind sending the very top of your build logs?
Homanti
Homanti10mo ago
where is it?
Adam
Adam10mo ago
No description
Brody
Brody10mo 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
Adam10mo ago
Thanks Brody
Homanti
Homanti10mo 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
Brody10mo 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
Homanti10mo ago
Wow thanks
Solution
Brody
Brody10mo 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
Homanti10mo ago
Thanks a lot
Brody
Brody10mo ago
no problem!
Want results from more Discord servers?
Add your server