Forum in maintenance, we will back soon 🙂
Hosting fast API on VPS server
I need help to host Fast API on UltaHost. I use cyber pannel.Â
I went to an application installed and git.
then attache existing repo
then added the above detaii ls
next went to GitHub and added the deployment key
But I got the below error.
ultrahost allows python application hosting?
@dassa do you have access to root on your VPS? Can you get logged into a shell via ssh?Â
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@dassa are you comfortable with installing server side software? What OS is the server running?
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@ssadvisor not really. but like to learn. also, ultrahot support team ask me to send domain link and script URL. may be they will do.
Did you try my open-source project on hosting Python fast API on Ubuntu servers with one click? hassancs91/Python-FastAPI-Auto-Deploy (github.com)
If you have root access to the VPS, I can help you do that. Please double-check and let me know.
@admin Thank you for your help Mr. hassan. Yes, I have root access to the VPS. Also ultahost said The given application/script link is not working ( https://github.com/dimu2000/Python-Fast-API-main.git). If you can help me that's great.Â
This is the project link: hassancs91/Python-FastAPI-Auto-Deploy (github.com)
here is a tutorial on it: https://youtu.be/RtsNZTLlxOU?si=bf1jJQx2fB2qFB7R
please check and let me know
Â
@dassa please dont share your key publicly.
there is a problem installing a package.
is it my template? or your own API?
That's weird; I think it is a mismatch between the Python version and the package.
Did you add your own endpoints, or are you just testing and learning with my API Template?
The instructor package which raised the error is not always needed. it depends on your project
Does the hosting provider always take snapshots of the server in case any error happens so we can go back and retry?
did you try with another sample API other than my template?
Â
Â
anyway, I give up and host API using digital ocean. Now the API is working but this error message coming.