Open amellnik opened 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!
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.
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.
There is this using Azure: https://discourse.julialang.org/t/tutorial-deploying-an-oxygen-jl-app-to-microsoft-azure/107595
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.