Skip to content
Discussion options

You must be logged in to vote

So, to give anyone else an answer here and close this question, a few thing I've found on this.

tl;dr

For Cake4 deploy

  • Add config/app_local.php to your shared_files
  • Before first deploy, manually creates the folders shared/config and put your config/app_local.php and your config/.env if you need it.

Deployer and Cake versions

  • Deployer 7 is still beta right now.
  • This means a fresh common install will get you Deployer 6.
  • Deployer 6 have a CakePHP3 recipe, not CakePHP4 (be aware of that)

Config files

  • On cake4, there is 3 different files to handle environment variables: config/.env, config/app.php, config/app_local.php
  • config/.env, config/app_local.php should not be committed, each envir…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@viniciusbig
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by viniciusbig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants