Undocumented devenv/NixOS and Poetry stuff #34

Closed
opened 2024-07-14 17:35:57 +00:00 by benjaoming · 9 comments
Owner

I'm confused about how to get a functional development running. The current README doesn't quite play and doesn't align with the Poetry stuff in the Makefile, nor the devenv files.

Currently, the default environment (.env.example) has DEBUG=True and that's fine. The thing is that django_debug_toolbar is part of the requirements for a development environment and it isn't installed.

I'll try to add some fixes for this now...

I'm confused about how to get a functional development running. The current README doesn't quite play and doesn't align with the Poetry stuff in the Makefile, nor the devenv files. Currently, the default environment (`.env.example`) has `DEBUG=True` and that's fine. The thing is that django_debug_toolbar is part of the requirements for a development environment and it isn't installed. I'll try to add some fixes for this now...
Author
Owner

Hmm, not easy from a train... the COPY --chown=www:www . . line in Dockerfile is invalidating the Docker cache all the time... moving it so we can cache more build stages....

Hmm, not easy from a train... the `COPY --chown=www:www . .` line in Dockerfile is invalidating the Docker cache all the time... moving it so we can cache more build stages....
Owner

Yeah this stuff is pretty much defunct and outdated. I'll do an update of the readme and the different files.

Yeah this stuff is pretty much defunct and outdated. I'll do an update of the readme and the different files.
Owner

The project uses hatch, so there is a clear path for development - it is just not documented

The project uses hatch, so there is a clear path for development - it is just not documented
Author
Owner

So the whole Makefile is dead? 😱

So the whole Makefile is dead? 😱
Owner

Hah hah, not dead per se, more like just not working. Should nt take long to fix it.

Hah hah, not dead per se, more like just not working. Should nt take long to fix it.
Author
Owner

I'm gonna try to clean up the Dockerfile and the README to align with the Hatch commands...

I'm gonna try to clean up the Dockerfile and the README to align with the Hatch commands...
Author
Owner

Please, for future reference, don't change all the entrypoints in a project without some kind of note in the README... even knowing that the README isn't updated is helpful :)

Please, for future reference, don't change all the entrypoints in a project without some kind of note in the README... even knowing that the README isn't updated is helpful :)
Owner

@benjaoming I'm cleaning it up

And please don't "please" - I've been the sole developer on this project for quite some time, so stuff has been a bit messy because I haven't had the motivation to clean things up ;) But now I really want to clean it up because you want to do stuff!

@benjaoming I'm cleaning it up And please don't "please" - I've been the sole developer on this project for quite some time, so stuff has been a bit messy because I haven't had the motivation to clean things up ;) But now I really want to clean it up because you want to do stuff!
Owner

Closed in 480eecca12

Closed in https://git.data.coop/data.coop/membersystem/commit/480eecca12e3e3c1cde583169791137365bb9a9c
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: data.coop/membersystem#34
No description provided.