Hi Guys,
I am new to forge and I am trying to deploy a test application but I keep getting an error related to database user configuration. When I had a look at my .env file in forge it is empty so my questions are
do I need to generate the whole .env file or I only need to update variables needed such as the database configurations.
Does forge create a default .env file when creating a website and if yes how can I view this file?
When you use forge, it will create a default .env file for your app with database username forge and a secure password which it will email you. Keep that email which is very important. You don't need to generate an .env file. In Environment tab, update your credentials.
In the environment tab, the only option I have is updating the .env file. When I open the file it is empty. Do you mean I need to update the database connection configurations in this file?
I actually did but I am still getting the same error. What I don't understand is why the .env file is always empty each time I open it. It does not keep my update. Is that normal?
Ok, I'd contact forge support at this point. It's the big blue circle icon in the lower-right hand corner of the screen when you're logged into your forge account.