Skip to content

Conversation

@kdambekalns
Copy link
Member

This allows to have a project folder where the Flow distribution root is in a sub-folder.

beach init --flow-path some/folder can be used to initialize a setup where the "Flow project root" is in some/folder. This will now set the (new) environment variables like this:

BEACH_FLOW_ROOTPATH= some/folder
BEACH_APPLICATION_PATH=/application/some/folder

This can be used for projects where a Flow or Neos distribution is part of a larger codebase and the root is not reserved for Flow or Neos.

@kdambekalns kdambekalns self-assigned this Sep 24, 2024
@kdambekalns
Copy link
Member Author

Best used with flownative/docker-beach-php#20 😎

@kdambekalns kdambekalns force-pushed the feature/flow-in-subfolder branch from bbbf1f1 to 9b1dff7 Compare September 27, 2024 10:07
With this change a set FLOW_ROOT_PATH in the environment variables
will be respected by Local Beach. This affects the commands `logs` and
inidrectly `resource-download` and `resource-upload` as well.
The sandbox was used only to read the project name – but the config
was written to the current directory anyway. Now the current working
is used to define the project name, the check for Flow installation is
no longer done at this point.
This allows to have a project folder where the Flow distribution root
is in a sub-folder.

`beach init --flow-path some/folder` can be used to initialize a setup
where the "Flow project root" is in `some/folder`. This will now
set the (new) environment variables like this:

    BEACH_FLOW_ROOTPATH= some/folder
    BEACH_APPLICATION_PATH=/application/some/folder
@kdambekalns kdambekalns force-pushed the feature/flow-in-subfolder branch from 9b1dff7 to 8ef2055 Compare September 27, 2024 10:15
@kdambekalns kdambekalns merged commit 55c8eae into main Sep 27, 2024
@kdambekalns kdambekalns deleted the feature/flow-in-subfolder branch September 27, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants