Skip to content

Allow install directory customization in easy-install script #1691

@pandafy

Description

@pandafy

Issue: Easy Install

⚠️ My feature suggestion does not deal with the following question, thus I have left some of them unanswered.

Do the checklist before filing an issue:

  • Did you retain the logfile (path of logfile is shared while the script is run)? We definitely need the logfile to debug any easy install related issues.
  • Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome

Distro Information (Required)
N/A

Command Run (Required)
python3 ./easy-install.py upgrade --project=helpdesk_prod_setup --image=ghcr.io/frappe/helpdesk --version=stable

Log File (Required)
N/A

Screenshots
N/A

Problem

Currently, the easy-install script creates the docker compose, env, and password files in the user directory (~/.). There is no way to customize the install directory. It would be beneficial to provide a flag or environment variable so that users can specify a custom install location for these files.

Additional context

Providing flexibility to install location will help in cases where users want to keep different environments organized or avoid placing files in their home directory, improving overall usability and project management.

Possible Solution

Add a --install-dir flag or allow reading an environment variable (e.g., INSTALL_DIR) so that the installation location can be customized and the relevant files are created in the specified directory. This could default to the current behaviour if not specified.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions