How to deploy a web service from a local code base?

Is there a way to deploy web service locally, without connecting to a repository online (e.g. Github, Gitlab)?

I’m thinking something along the lines of what Heroku offers:

heroku create -a my-app
heroku git:remote -a my-app
git push heroku main

I’ve read through the docs but they don’t seem to suggest any way to do this.

Any form of help or insight on this matter will be much appreciated.


I’ll add the response I gave to the ticket you also opened:

Currently, deploying to Render requires the repo to exist on Github or Gitlab. There is an under-review feature request for alternative deployment methods, please feel free to upvote/comment to be notified of any updates: