filmov
tv
How to deploy your ktor server into vps server in simple way
![preview_player](https://i.ytimg.com/vi/DJwvxLB1yB8/maxresdefault.jpg)
Показать описание
In this tutorial, I will show how you can package your Ktor server and deploy it for simple use
this is not really the best way, since it package the whole application and upload it to the Vps server every single time you want to deploy the server, it automated but still you might want use something better, like setup git on the server, authentication with the remote on the server and push the changes and run command to package the application and rerun, this is a better approch, if you find it quite hard, you might want use cloud services like Amazon Aws, Heroku, Google app engine etc... they will do all of this for you
if you are freelancer then creating this whole thing every time and update it manually is not a good solution, you might want build your own Gradle plugin and use it or automated script that do all of this, or just use something simple like Heroku, I don't recommened to build it from scratch for your clients, because you will have to manually manage the server and that cost you time and cost them money, for your own application it might be good idea
even if you decide to use a prebuilt solution, you might still want to get an overview of how does thing works
I'm really sorry the video was really bad because I hadn't gotten good sleep for a while
but I promise a remake if someone wants
but you can still see the tutorial that I created on Github gist:
also see the Github repository:
Please feel free to reach out if you have any questions or suggestions
#ktor #coding #kotlin #development
this is not really the best way, since it package the whole application and upload it to the Vps server every single time you want to deploy the server, it automated but still you might want use something better, like setup git on the server, authentication with the remote on the server and push the changes and run command to package the application and rerun, this is a better approch, if you find it quite hard, you might want use cloud services like Amazon Aws, Heroku, Google app engine etc... they will do all of this for you
if you are freelancer then creating this whole thing every time and update it manually is not a good solution, you might want build your own Gradle plugin and use it or automated script that do all of this, or just use something simple like Heroku, I don't recommened to build it from scratch for your clients, because you will have to manually manage the server and that cost you time and cost them money, for your own application it might be good idea
even if you decide to use a prebuilt solution, you might still want to get an overview of how does thing works
I'm really sorry the video was really bad because I hadn't gotten good sleep for a while
but I promise a remake if someone wants
but you can still see the tutorial that I created on Github gist:
also see the Github repository:
Please feel free to reach out if you have any questions or suggestions
#ktor #coding #kotlin #development
Комментарии