The app stores uploaded images and files in MinIO, a local S3-compatible storage service that Docker is already running. You need to generate an access key inside MinIO's web UI and paste it into the .env.development config file. Open MinIO at http://localhost:9000, log in with username minioadmin and password minioadmin, click 'Access Keys', then 'Create Access Key'. Copy the Key and Secret shown.
What you should see
The .env.development file opens in your terminal editor. Find the lines S3_UPLOAD_KEY, S3_UPLOAD_SECRET, S3_IMAGE_UPLOAD_KEY, and S3_IMAGE_UPLOAD_SECRET and paste your copied values. Also set WEBHOOK_TOKEN to any random string (e.g. mysecrettoken123). Set EMAIL_USER, EMAIL_PASS, and EMAIL_FROM to any placeholder values (e.g. test@example.com). Save with Ctrl+O then Ctrl+X.
This might happen
nano is not installed on your system
Use any text editor — open the file at civitai/.env.development in VS Code, Notepad, or TextEdit