This tutorial will have you deploying a Rust app in minutes.
Rocket is a web framework for Rust that makes it simple to write fast, secure web applications without sacrificing flexibility, usability, or type safety.
Source Code
In the tutorial, we will use a sample application ready to be deployed on Qovery. To get the application source code, please fork this repository.
App Setup
In Qovery Console, choose or create your project and environment. Then, add a new application:
In Git Repository, pick the forked application source code repository.
In the Port section type 8000.
Lastly, in the Build Mode pick Docker and leave the Dockerfile Path as it is - /Dockerfile
.
That's it, create!
Deploy
It's all ready. In your application's screen click on Actions and Deploy your application.
Logs
To see the progress of your deployment and the output of your application, click on Show Logs button. You can navigate between build/deployment logs as well as your application runtime logs.
Push Changes
Now, anytime you push new changes to your repository, Qovery will automatically update your application with the latest code!