OxygenFramework / Oxygen.jl

💨 A breath of fresh air for programming web apps in Julia
https://oxygenframework.github.io/Oxygen.jl/
MIT License
383 stars 25 forks source link

Deployment demos? #75

Open amellnik opened 1 year ago

amellnik commented 1 year ago

Would it be helpful to include demos or documentation on how to deploy Oxygen APIs to AWS, GCP or similar? I had a similar project that I just deprecated and I remember that moving from a version running locally to a deployed instance was a common pain point. If so I'd be glad to add them.

ndortega commented 1 year ago

@amellnik Absolutely, that's a great idea. In retrospect, that's a pretty big piece of documentation that's missing from the project. I appreciate the help!

pboes commented 1 year ago

Absolutely second that. As a non-architect this is what keeps me from using Oxygen for my use case. If there was something like

https://genieframework.com/docs/genie/v5/tutorials/16--Using_Genie_With_Docker.html

(esp the precompilation bit) and/or analogous to

https://fastapi.tiangolo.com/deployment/deta/

for some service that would be so valuable to me. Right now it boils down a lot of trial and error based off of myriads of bits.

frankier commented 8 months ago

See also https://github.com/ndortega/Oxygen.jl/discussions/103

I have created a similar Docker image in a pretty straightforward way. It's working fine with just normal precompile at build time and without PackageCompiler. Personally I'd advise deferring PackageCompiler until needed.

damjanmk commented 3 months ago

There is this using Azure: https://discourse.julialang.org/t/tutorial-deploying-an-oxygen-jl-app-to-microsoft-azure/107595