Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deploy application? #280

Open
szabgab opened this issue Dec 16, 2023 · 2 comments
Open

How to deploy application? #280

szabgab opened this issue Dec 16, 2023 · 2 comments

Comments

@szabgab
Copy link

szabgab commented Dec 16, 2023

Now that I have my brand new web application printing "Hello World!", I'd like to deploy it.

I could not find any instruction how can I do it or what is the recommended way to do it.

It would be nice to add such information to the README or to the documentation.

@puetzp
Copy link

puetzp commented Dec 18, 2023

I do not think recommendations on application deployment are within the scope of this project. Your application code (that depends on rouille among others) produces a binary when compiled. At this point it does not matter if you use rouille or axum or any other web framework in your code. You just run it like any other binary.

That being said: Maybe I totally misunderstand your question?

@szabgab
Copy link
Author

szabgab commented Jan 1, 2024

I am sure there are many ways to deploy any web application.
My point is that it can be useful for the project to show one or more such ways.
Maybe as part of a tutorial.

For example would you deploy it stand alone as a web server or would you put it behind an nginx reverse proxy.
Would you handle static file (e.g. images) by the application or by nginx, if there is one?
Once I wrote a blog post on how to convert any executable to a service I think something along those lines would help to get people started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants