### What? Previously, `.env` & `.env.example` modifications during `cpa` occurred after a project was initialized. ### Why? As a result, these modifications would be seen as uncommitted modifications in the project repo. ### How? Now, we make these modifications in the `createProject` script before the project is initialized. Also, updates the **template** `.env.example` files to use the generic db name `your-database-name` for better alignment & clarity. Fixes #10232
3 lines
84 B
Plaintext
3 lines
84 B
Plaintext
DATABASE_URI=mongodb://127.0.0.1/your-database-name
|
|
PAYLOAD_SECRET=YOUR_SECRET_HERE
|