payloadcms / public-demo

The official public demo for Payload
https://demo.payloadcms.com
152 stars 74 forks source link

Does not work correctly with create-payload-app (postgres breaks) #34

Open AlexJeffcott opened 10 months ago

AlexJeffcott commented 10 months ago

It seems that the payload/payload.config.ts is not correctly setup to work with create-payload-app cli which requires both // database-adapter-config-start and // database-adapter-config-end to work correctly.

https://github.com/payloadcms/public-demo/commit/07d9eb868aed5897da25f08165077cbdd700a936#diff-a761e1902224d7e0a1c9362b0894878afe1b1fbc5b216b88c30c8595f76d8e9b

Unfortunately, the tests in create-payload-app do not attempt to cover this ‘template’, presumably because it is outside of the payload monorepo. Perhaps, testing npx create-payload-app here would be appropriate.

https://github.com/payloadcms/public-demo/pull/33