-
Notifications
You must be signed in to change notification settings - Fork 4
Small improvements to Makefile #579
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
Conversation
- Collect the includes, default goal, .PHONY, and .SILENT directives at the top so file metadata is easy to spot - Split the targets into clear sections (Help, Cleaning, Bootstrap, Development, Testing, Build) with divider comments - Expanded the .PHONY list to cover all non-file targets
- Include a new make target for running the personas command - Run both personas and seed-demo-data when calling `make local`
Update the configured local environment rather than just running the db. This will make sure that dependency updates and asset compilation happen as well.
| build: # Build the project artefact @Pipeline | ||
| docker build -t "app:$$(git rev-parse HEAD)" . | ||
|
|
||
| deploy: # Deploy the project artefact to the target environment @Pipeline |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, this should simplify the first time setup 👍🏻
presumably the README instructions can change as well? (doesn't need to block this though)
Makefile
Outdated
| docker compose --env-file manage_breast_screening/config/.env up -d --wait | ||
|
|
||
| local: db run | ||
| local: db seed-demo-data personas run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we also use seed-demo-data and personas in the rebuild-db task as well? It's for deleting the db volume and rebuilding in cases where the DB is messed up.
seed does nothing and I don't think we need it anymore
Have this execute seed-demo-data and personas. Remove seed as we don't currently have a use for it.
Description
make localcommandmake localJira link
na
Review notes
na