Simplify local development setup #67
Labels
No Label
Brainstorm
Parent
bug
duplicate
enhancement
help wanted
idea
invalid
project/backend
project/frontend
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Depends on
#45 Setup proper CICD pipeline
Chewing_Bever/fej
Reference: Chewing_Bever/fej#67
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
This issue contains several tasks that will simplify the developer's environment and speed up development.
Cargo-watch is basically Nodemon for Rust.
We can mount the codebase in the Docker container, and run cargo-watch inside the container. This will allow the developer to start up the container once, and see the updates happen as they implement them.
Instead of locally building the builder image, we could create it inside the CICD pipeline. This would ensure every developer has the same builder, and speed up their local environment by preventing unnecessary rebuilds.
One possible issue here might be the need for new features inside the builder, but we'll cross that bridge when we get there.
Considering the CICD pipeline checks for formatting errors, we don't need to do this locally anymore. Instead, we can just set the
develop
branch to protected. This will ensure thedevelop
branch stays clean, without slowing down the developing during work on an issue.Honestly, the hook annoys more than anything. Instead of adding anything to the commit message, the hook should only check wether or not an issue number is present, and error out if not.
Switch to cargo-watchto Simplify local development setup