Skip to content

Add support to manually set the ROOT_DIR #158

Description

@chlima88

Description:

It would be really helpful if we could manually set the ROOT_DIR .

Propose:

We can use the .env file to define a custom directory, together with a helper class that builds the paths, checks whether the variable is set, and applies the current path as a default value.

Benefits:

  • Configuration flexibility – allows setting a custom ROOT_DIR without changing the source code.
  • Portability – makes it easier to run the project across different environments (development, staging, production) just by changing environment variables.
  • Future scalability – the structure is ready for other environment-driven configs if needed.
  • Improved contributor experience – new developers can get started quickly by just adjusting the .env file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions