Skip to content

Add possibility for local development #106

@CasparNuel

Description

@CasparNuel

The goal of this issue is to add a configuration to the repository that makes local development more straightforward. The main goal is to avoid having to push changes to GitHub before they can be integrated into the Docker containers for testing.

The core idea is to create a Docker container that builds the application, resolving the local dependencies with replace directives in the go.mod file(s). The replace directives should allow Go to build the application using local versions of the Kebeng services rather than resolving their source code from GitHub.

Alternative Dockerfiles will have to be created for this, as the current Dockerfiles don't have enough context in the build stage to allow for these replace directives to resolve dependencies of other Kebeng services.

So, in short, this issue aims to:

  • Analyze the existing go.mod files and create a copy of them for resolving dependencies locally rather than through GitHub
  • Use this alternate go.mod file within a new, development-focused Dockerfile
  • Append information about this setup to the README.MD, or alternatively create a DEVELOPMENT.MD.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions