Skip to content

Improve development workflow #547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

bastianjoel
Copy link
Contributor

@bastianjoel bastianjoel commented Jun 8, 2025

With this PR, I aim to address some issues I encountered while setting up a development environment for this project.

templ version mismatch (#558)

When generating template files, I encountered an issue where the version installed by make install-deps generated files that were incompatible with the current templ version in use.

To fix this, the version from go.mod is now installed by make install-deps.

easier setup

To make the overall setup of this project easier, I added a docker-compose file for development.
With this, the whole setup can be started for development by just running make dev-docker without installing any dependencies.

docker image version pinning (#559)

Without version pinning, this repository can get unbuildable if there are breaking changes on those images. To prevent this, I added version numbers to the used docker images and also updated the depandabot.yml to also open PRs for updates on docker images.

Other minor changes

While still in draft, I am already open to feedback.

@jovandeginste
Copy link
Owner

I like the general idea! Let me know when it should be usable, I will test it out then.

@jovandeginste
Copy link
Owner

Would you be able to split this PR up in smaller changes?

@bastianjoel
Copy link
Contributor Author

bastianjoel commented Jun 16, 2025

@jovandeginste Yes, I could do that. I will probably come back to it next week as I am currently a bit busy.

@bastianjoel
Copy link
Contributor Author

bastianjoel commented Jun 24, 2025

The minor changes are now split into separate PRs.
It might be easier to keep the frontend changes and the docker-compose workflow together, as the frontend changes will introduce some changes to the workflow, which I would like to integrate directly into the docker-compose workflow.

@jovandeginste
Copy link
Owner

All the smaller PR's are now merged, thanks for this!

@bastianjoel bastianjoel force-pushed the docker-compose-dev-workflow branch from e14ea41 to 6d82d78 Compare July 1, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants