#dev 2019-08-16
2019-08-16 UTC
mildlettuce joined the channel
# mildlettuce hello
rainmanj_, [tantek], rainmanjam, tomasparks, NinjaTrappeur, cweiske, [Rose], jeremych_, [prtksxna], [jgmac1106], janttoDiscord[m] and willibuddyDiscor joined the channel
# [jgmac1106] swentel having issues with Indigineous where I am throwing a 403 error when trying to load channels.
# [jgmac1106] Trying to debug the issue. I can log into Aperture and see my channels
[KevinMarks], eli_oat and [grantcodes] joined the channel
# [grantcodes] What about another reader?
# [jgmac1106] Same thing in together. No channels load
# [jgmac1106] But my microsub endpoint lookd fine
# [jgmac1106] Was going to do a demo at edcampct today
# [jgmac1106] Will fall back on screenshots
swentel joined the channel
# [jgmac1106] this is my endpoint: <link rel="microsub" href="https://aperture.p3k.io/microsub/59">
IWSlackGateway and [grantcodes] joined the channel
# [grantcodes] Well I can see it wasn't found in together
# [grantcodes] https://jgregorymcverry.com/ doesn't have a microsub endpoint set up
swentel and [jgmac1106] joined the channel; swentel left the channel
swentel joined the channel; swentel left the channel
# [grantcodes] Hmm you're saved in together with your root domain
rainmanjam joined the channel
# [jgmac1106] I wonder if it rooted back, I had [aaronpk] switch me to my subdomain
# [grantcodes] That's not related to together. It is trying to find your microsub endpoint from your root domain and doesn't find anything. Have you tried logging in with https://quickthoughts.jgregorymcverry.com
rainmanj_ joined the channel
# [jgmac1106] yes that is what I login and get missing channels
# [jgmac1106] its strane
rainmanjam joined the channel
# [grantcodes] Hmm, definitely still not saved in the database as the subdomain, so there is something funny going on somewhere
DenSchub, rainmanj_, [jgarber], [tantek] and [KevinMarks] joined the channel; robdrake left the channel
[Lewis_Cowles] joined the channel
# [Lewis_Cowles] Is anyone using nginx as a way to put all resources on a single domain using location blocks with proxy_pass directives?
# [Lewis_Cowles] it might be separate systems. For example you could provide an alternative API for systems
# [Lewis_Cowles] One use would be forwarding wp-admin to an echo server or blackhole service
# [Lewis_Cowles] I think it's a nice way to strangle services which are a bit large and unweildy
# [Lewis_Cowles] as well as stop access
# [Lewis_Cowles] Very cool. I would suppose it could allow separate apps to behave cohesively as one API
qbeek, [mapkyca] and [fluffy] joined the channel
# [fluffy] https://www.oauth.com/oauth2-servers/client-registration/client-id-secret/ sorta explains but like… in practical usage, I’ve never seen any API ever provide things that only use _id
# sknebel of course search hit nr 2 is https://aaronparecki.com/oauth-2-simplified/ :D
jeremycherfas joined the channel
# shokuninDiscord[ Hey aaronpk, just wanted to follow up on the client id thingy!
# shokuninDiscord[ Oki!
[jgarber] and [tonz] joined the channel
# aaronpk is this the API docs? https://docs.joinmastodon.org/api/authentication/
# aaronpk lol ffs you're right https://docs.joinmastodon.org/api/authentication/#get-oauth-authorize
# [fluffy] yeah. https://docs.joinmastodon.org/api/authentication/#get-oauth-authorize says you have to pass the client_secret along
# [fluffy] Specifically it was missing docs for `state`. https://source.joinmastodon.org/mastodon/docs/merge_requests/46
kev1 joined the channel
# shokuninDiscord[ I'm back now aaronpk
# shokuninDiscord[ So I was gonna follow up with Akshay on the indieauth setup. Do you think we can start with your instance and allow the client id permaweb.io, and then test the heroku you've been thinking (if it's still on the table!)?
[aarongustafson] joined the channel
[tantek] joined the channel
# shokuninDiscord[ ok great! is the client id like how you needed it, or is there anything we should do different?
# aaronpk shokuninDiscord[: ok https://permaweb.io/ is added as a client_id now, that should be it
# shokuninDiscord[ ok awesome!
# shokuninDiscord[ 🙂
# shokuninDiscord[ it doesn't need to be added domain wide, wildcard or such?
# shokuninDiscord[ Got it, great
# shokuninDiscord[ Thanks for the help
# shokuninDiscord[ Have you thought more about the deploy to Heroku / Docker image kinda thing?
# shokuninDiscord[ Yeah it sounds like a pain rn
# shokuninDiscord[ Is the heroku stuff easy btw? I've noticed widgetbot.io uses it
# shokuninDiscord[ (It's a widget we use to embed Discord on permaweb.io)
[Lewis_Cowles] joined the channel
# [Lewis_Cowles] What needs a deploy to heroku button?
# [Lewis_Cowles] does it need anything complex for the JS, and does it work with new (ish) PHP?
# [Lewis_Cowles] cool, give me a bit to get it up and running locally
# [Lewis_Cowles] I run a lot of docker. I enjoy dockerising apps
# [Lewis_Cowles] right in heroku those are provided via ENV, does it use a config file, or is it editing variables directly?
# [Lewis_Cowles] same for docker TBH
# [Lewis_Cowles] the basis for a Heroku docker is really simple. Most of the work will be containerising I should imagine
# [Lewis_Cowles] build:
# [Lewis_Cowles] web: Dockerfile
# [Lewis_Cowles] docker:
# [Lewis_Cowles] yeah those can come in via ENV
# [Lewis_Cowles] so do you happen to know which php extensions other than json, mysql, redis?
# [Lewis_Cowles] and would you like the build of the dockerfile to run tests?#
# [Lewis_Cowles] It's already multi-stage build
# [Lewis_Cowles] that simplifies that question 😉
# [Lewis_Cowles] I'll omit them in case it crashes
# [Lewis_Cowles] 😉 It's building the first attempt (local docker). Let's see if frankenstein will rise on the first punt
# [Lewis_Cowles] if it works I'm having another beer 🙂
# [Lewis_Cowles] yeah I got that it's done inside the docker container for this (you did say docker in heroku right?)
# aaronpk i don't think heroku uses docker for their stuff? not sure https://devcenter.heroku.com/articles/heroku-button
# [Lewis_Cowles] yeah I know how to deploy a heroku button with Docker
# [Lewis_Cowles] I've in-fact never used anything else
# [Lewis_Cowles] for the button
# [Lewis_Cowles] scroll up you'll see the tiny config required to run a Dockerfile
# [Lewis_Cowles] it's quite lovely
# [Lewis_Cowles] 3 lines
# [Lewis_Cowles] accidentally typed alpine in... first build failed, thank someone for build caching
# [Lewis_Cowles] do you dump the autoloader? I can't remember if there was a step past composer install for auto-linking things like the helper
[jgarber] joined the channel
# [Lewis_Cowles] it's cycling on connection reset. I suppose now is the time for config.php
# [Lewis_Cowles] there are more bits in there than mentioned
# [Lewis_Cowles] is it evaluated once at startup, or many times?
# [Lewis_Cowles] if services are in an invalid state what does it do? (crash?)
# [Lewis_Cowles] I have a docker-compose.yml + Dockerfile + heroku button. Problem is now making the app run lol
# [Lewis_Cowles] yes, but I'm asking how your app copes if it does not have config values
# [Lewis_Cowles] I am now receiving 403. I am unaware if this is good or bad
[jgmac1106] and [manton] joined the channel
# [Lewis_Cowles] Ha... got it working
# [Lewis_Cowles] It should be fine. I'm yet to deploy it outside of docker-compose (http://localhost:5000)
# [Lewis_Cowles] gotta clean the shelf of my personal heroku
# [Lewis_Cowles] I may change the database URL and add helper logic for switching mysql heroku providers
[Rose] joined the channel
# [Lewis_Cowles] Well it needs work. I've just dropped the requirement for cleardb and I think it cascades to support all heroku mysql providers as well as the ability to provide custom host(with port), db, user, password, custom database url (if any db url is there it uses that)
# [Lewis_Cowles] It also now takes the name and url from heroku
# [Lewis_Cowles] and not everything is required 😂
# [Lewis_Cowles] ... error logging is apparently not setup correctly
[KevinMarks] joined the channel