BrunoMaucourt / Necromunda

GNU General Public License v3.0
0 stars 1 forks source link

Unclear installation #1

Open joeseos opened 1 month ago

joeseos commented 1 month ago

Not sure I understand the installation process and specifically the step "update the database connection information". I cannot find DATABASE_URL in the env test file.

BrunoMaucourt commented 1 month ago

Thank you for your interest in the project.

Indeed, I wasn't clear in my README file. I will update it to correct this error. I usually place the DATABASE_URL variable in a .env.local file, which contains data specific to each installation and is not shared on GitHub for security reasons. This is what is recommended in the Symfony documentation.

https://symfony.com/doc/6.4/configuration.html#overriding-environment-values-via-env-local

However, it will still work if DATABASE_URL is placed in the .env file:

DATABASE_URL="mysql://user:password@127.0.0.1:3306/necromunda"

It’s a side-project and is still under development, so there may be other issues. Please don't hesitate to contact me with any additional concerns or questions.

Bruno

BrunoMaucourt commented 1 month ago

Fixes #1 in 5da77d3