dwyl / auth

๐Ÿšช ๐Ÿ” UX-focussed Turnkey Authentication Solution for Web Apps/APIs (Documented, Tested & Maintained)
https://authdemo.fly.dev
GNU General Public License v2.0
131 stars 9 forks source link

Auth: Deploy Demo Version to Fly.io #246

Closed nelsonic closed 1 year ago

nelsonic commented 1 year ago

In light of the Heroku (Salesforce bean-counter) penny-pinching https://github.com/dwyl/learn-heroku/issues/52 ๐Ÿคฆโ€โ™‚๏ธ we are migrating all our demo/example apps off the platform. โณ

Todo

I estimate that this will take me/us ~T1h ... โŒ› But only cause I've done this before and know the "quirks" ... ๐Ÿ™„ And worked through them in: #172 :shipit:

My objective is to improve the docs in the README.md to the point where anyone could follow them and deploy their own instance of auth in ~T25m. ๐Ÿคž

nelsonic commented 1 year ago

Org created: https://fly.io/dashboard/dwyl-authdemo โœ…

image

Everyone invited. โœ‰๏ธ ๐Ÿ“ฅ

nelsonic commented 1 year ago

Picking this up now cause I really want to unblock the Phoenix Chat PR: https://github.com/dwyl/phoenix-chat-example/pull/120 <| https://github.com/dwyl/phoenix-chat-example/issues/54

nelsonic commented 1 year ago

Deployed demo version to Fly.io: https://authdemo.fly.dev/init glad I wrote this init page to check status of the Auth App:

image

Going to extract some of the Env Vars from Heroku Demo App: https://github.com/dwyl/learn-heroku/issues/35 And update the GitHub and Google Apps URL to this new one. โณ

nelsonic commented 1 year ago

Next: https://github.com/organizations/dwyl/settings/applications/1275498

nelsonic commented 1 year ago

https://dashboard.heroku.com/apps/dwylauth/settings

nelsonic commented 1 year ago

https://github.com/dwyl/elixir-auth-google/blob/main/create-google-app-guide.md

nelsonic commented 1 year ago

Working with GitHub: image

And Google:

image

nelsonic commented 1 year ago

Deployment docs are still current. โœ…

nelsonic commented 1 year ago

Gone! ๐Ÿ‘‹ image

nelsonic commented 1 year ago

https://fly.io/dashboard/dwyl-authdemo has $25 credit in case the Fly.io crew decide to charge us. ๐Ÿ’ฐ

image

Very happy to pay a few $$'s/month for this awesome service. ๐Ÿ˜

nelsonic commented 1 year ago

Using this in: https://auth-plug.fly.dev/ :shipit: And it's muuuuuuch faster than Heroku! ๐ŸŽ‰