dwyl / learn-devops

🚧 Learn the craft of "DevOps" (Developer Operations) to Deploy your App and Monitor it so it stays "Up"!
GNU General Public License v2.0
417 stars 172 forks source link

Kamal? #96

Open nelsonic opened 1 week ago

nelsonic commented 1 week ago

https://kamal-deploy.org/ via: https://elixirforum.com/t/deploy-your-phoenix-app-on-digitalocean-in-30-minutes/65738/3 Related to: #94

nelsonic commented 1 week ago

Watched the whole T32m intro by @dhh:

image

image

Looks like the peeps at 37Signals have reinvented dokku with a few extras. πŸ’­ Definitely worth considering for deployment. πŸ“¦ 🐳 πŸš€

nelsonic commented 6 days ago

https://blog.psantos.dev/deploying-phoenix-application-with-kamal-2/ πŸ”— PDF snapshot: Deploying-Phoenix-application-with-Kamal-2.pdf πŸ–¨οΈ

Via: https://elixirforum.com/t/phoenix-blog-post-deploying-a-phoenix-application-using-kamal-2/66417

Thanked via: https://github.com/psantos10/psantos10/issues/1 πŸ™ Followed on twitter X: https://x.com/psantos_ao πŸ‘Œ

nelsonic commented 6 days ago

https://www.hansschnedlitz.com/writing/2024/01/07/continuous-deployment-with-github-actions-and-kamal PDF snapshot: Continuous-Deployment-with-GitHub-Actions-and-Kamal.pdf

nelsonic commented 1 day ago

Now that it's Saturday morning, I've read through the blog post above ⬆️ https://blog.psantos.dev/deploying-phoenix-application-with-kamal-2/ πŸ”— In it, PatrΓ­cio uses Multipass to run two Ubuntu instances on his Mac. 🍏 He doesn't use SSL because it's on his localhost and doesn't do a "full" deployment ... πŸ’­ But it's still a good starting point despite the typos ... πŸ‘Œ

Appears to be hosted on Wordpress otherwise I would offer to PR an update and fix all typos. ✍️

What it means: there's still a huge gap in the Elixir/Phoenix ecosystem for a detailed Kamal 2 deployment guide. I am going to write it. πŸ§‘β€πŸ’» ⏳ (because we are going to use it!)

The only question is: will we keep it here in learn-devops or a dedicated repo? πŸ€”

nelsonic commented 12 hours ago

How to get started with Kamal 2: https://youtu.be/TfortG9QKWU