You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have identified a few issues when setting up this project on a new machine:
Users get confused about setting the Platform.sh CLI token.
PHP needs to be installed on the local machine because we are using GrumPHP, which runs on pre-commit hooks. If PHP is not installed, users cannot commit changes.
After running ddev pull platform, a few directories (tmp, private, drush) are created and are not excluded from Git, so users may accidentally push these changes.
The text was updated successfully, but these errors were encountered:
Thanks, @zeshanziya. I understand that the first two problems are related to documentation. For 3, shall we add those lines to .gitignore? My concern with adding .drush is that we might want to add that ourselves in the future. What do you think?
@hussainweb For point 2, I was thinking if we can change the pre-commit hook and execute the grumphp command using ddev. this way, we can remove the dependency on local php requirement completely. But that again will not work if ddev is not running and user tries to commit.
If we plan to use local php to be installed, then we should mention latest php version to be installed in documentation.
For point 3, I think, we can push all these directories with a .gitignore so these directories are available and ignored as well.
We have identified a few issues when setting up this project on a new machine:
ddev pull platform
, a few directories (tmp, private, drush) are created and are not excluded from Git, so users may accidentally push these changes.The text was updated successfully, but these errors were encountered: