Run composer create-project..
in entrypoint script if there is no composer.json
#2
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: autonomic-cooperative/wordpress-bedrock-template#2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Related to #1 - to hew closer to the upstream wordpress docker image behavior of gracefully handling an empty directory, and to make life easier if we ever want to reinitialise from a new bedrock version, it might it be nice to automatically run
composer create-project roots/bedrock /app
if there's nocomposer.json
present.We probably want an environment variable to be able to disable this, for when we'll be copying in our own contents.
For safety, it should also bail out if there are unexpected files present.
Run `composer create-project..` in entrypoint script if wordpress is not installedto Run `composer create-project..` in entrypoint script if there is no composer.json