When working with the payload source, what's the easiest way to run a test/"demo" without the data disappearing every time the server reloads?
Doesn't matter what - just any kind of demo.
I believe you could use something from the demo?
https://github.com/payloadcms/public-demo/blob/master/src/cron/reset.ts
That file populates data to the db
Comment out line 23 in this file
https://github.com/payloadcms/payload/blob/master/test/dev.ts
If you are talking about the test dir
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.