docs icon indicating copy to clipboard operation
docs copied to clipboard

Using PostgreSQL cds build is not enough

Open Backo123 opened this issue 1 year ago • 1 comments

Hello,

In the Using PostgreSQL guide, section With a Deployer App, it is suggested that the deployer app will be generated simply by executing: cds build. While following the guide and executing the command, it doesn't generate a deployer app. After a lot of trial and error, my team found out that actually we need to execute: cds build --for postgres

Can you please confirm and update the guide accordingly.

Cheers Vassil Kossev

Backo123 avatar Aug 13 '24 08:08 Backo123

Hello,

Thank you for reporting this issue, the command should have a flag to run all the build tasks which is cds build --production, using the --for option lets you run individual build tasks but we should run all of them. I will update the documentation accordingly.

Best regards, Mahati

smahati avatar Aug 19 '24 12:08 smahati

Hello,

This has been changed on the deployed branch and will be seen on main when the two are synchronised.

Best regards, Maha

smahati avatar Aug 26 '24 09:08 smahati