I want to deploy a FastAPI project, but to deploy (static) I need a “Public directory”. My project does not have an index.html file, so what do I do?
You can’t deploy a Python Repl as static.
Would I have to pay for autoscale?
Yes, you would need to deploy as Autoscale or Reserved VM (Autoscale would be significantly cheaper if your site isn’t used too often)
And what could that cost? The price estimation tool just says “No cost with Replit Core”. $2? Does that sounds about right?
Well, it depends how often your site is used.
Do you ONLY pay for when the website is active? So it automatically shuts down after a bit?
Yes. It then turns back on after a request is made.
Do you know how long before it tuns off?
Nope. Probably after the user closes out of the webpage?
But no worries, I can assure you it turns back on very fast (speaking from personal experience with deploying).
Thank you for the quick and helpful responses
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.