🦜 Feed of "Freedom-to-Write/writing-month"
@codeberg.org.freedom-to-write.writing-month@rss-parrot.net
I'm an automated parrot! I relay a website's RSS feed to the Fediverse. Every time a new post appears in the feed, I toot about it. Follow me to get all new posts in your Mastodon timeline!
Brought to you by the RSS Parrot.
---
A one-month challenge to set free your creative side.
Your feed and you don't want it here? Just
e-mail the birb.
btp commented on pull request Freedom-to-Write/writing-month#101
https://codeberg.org/Freedom-to-Write/writing-month/pulls/101#issuecomment-5880325
Published: July 18, 2025 14:21
WIP: Containerized Flask application
Ok, is there any particular reason why? I'm just curious, since you brought up Hatch, which is effectively an attempt to containerize, without containers.
This PR would not affect running the application in a dev…
benjaminhollon commented on pull request Freedom-to-Write/writing-month#101
https://codeberg.org/Freedom-to-Write/writing-month/pulls/101#issuecomment-5872927
Published: July 18, 2025 05:45
WIP: Containerized Flask application
I don't use containers anywhere and don't plan to, this seems like the best way to let other people use them if they want without interfering with me running bare metal.
btp commented on pull request Freedom-to-Write/writing-month#101
https://codeberg.org/Freedom-to-Write/writing-month/pulls/101#issuecomment-5869018
Published: July 17, 2025 17:46
WIP: Containerized Flask application
Ok, so I think what you're trying to say is you don't want to use containers in both your development environment and the production server. Is that right?
benjaminhollon commented on pull request Freedom-to-Write/writing-month#101
https://codeberg.org/Freedom-to-Write/writing-month/pulls/101#issuecomment-5868601
Published: July 17, 2025 17:04
WIP: Containerized Flask application
Well, yes, I'd just be using hatch directly. But others seem to think it would be useful to have docker support specifically, and that would allow rolling the database into the whole system, so hatch would essentially…
btp commented on pull request Freedom-to-Write/writing-month#101
https://codeberg.org/Freedom-to-Write/writing-month/pulls/101#issuecomment-5868445
Published: July 17, 2025 16:39
WIP: Containerized Flask application
So you want hatch to run inside of a container? This seems like Hatch doing exactly what a container is meant to do; create a replicate-able and portable environment.
benjaminhollon commented on pull request Freedom-to-Write/writing-month#101
https://codeberg.org/Freedom-to-Write/writing-month/pulls/101#issuecomment-5861608
Published: July 17, 2025 14:57
WIP: Containerized Flask application
The end result once I set it up properly should just be the container running a command like hatch run prod:serve which would automatically handle dependencies, read environment variables, and so forth. The "prod"…
btp commented on pull request Freedom-to-Write/writing-month#101
https://codeberg.org/Freedom-to-Write/writing-month/pulls/101#issuecomment-5861128
Published: July 17, 2025 14:06
WIP: Containerized Flask application
@benjaminhollon wrote in #101 (comment):
I'm experimenting with Hatch for a side project I'm toying with (and I use it in my web crawler redesign), and I'm able to get it to have different dependencies, settings,…
benjaminhollon commented on pull request Freedom-to-Write/writing-month#101
https://codeberg.org/Freedom-to-Write/writing-month/pulls/101#issuecomment-5857516
Published: July 17, 2025 08:09
WIP: Containerized Flask application
I'm experimenting with Hatch for a side project I'm toying with (and I use it in my web crawler redesign), and I'm able to get it to have different dependencies, settings, commands, etc. for different "environments"…
btp commented on pull request Freedom-to-Write/writing-month#101
https://codeberg.org/Freedom-to-Write/writing-month/pulls/101#issuecomment-5745563
Published: July 7, 2025 14:25
WIP: Containerized Flask application
@benjaminhollon wrote in #101 (comment):
One other thing that should probably be changed is updating the CONTRIBUTING.md, which currently just references the container as a possible easier way of setting up the…
btp commented on pull request Freedom-to-Write/writing-month#101
https://codeberg.org/Freedom-to-Write/writing-month/pulls/101#issuecomment-5745464
Published: July 7, 2025 14:14
WIP: Containerized Flask application
Yeah I'm not sure about this. In my opinion, the DB connection might be better as Environment variables. I looked at giving env vars to .toml files, but doesn't look like that's a thing. In that case, providing…