thecodingmachine / symfony-vuejs

Source code of the tutorial "Building a single-page application with Symfony 4 and Vue.js"
https://thecodingmachine.io/building-a-single-page-application-with-symfony-4-and-vuejs
MIT License
178 stars 50 forks source link

trying to get it running without docker #35

Open baum1234 opened 4 years ago

baum1234 commented 4 years ago

When I try to get it running without docker, I get the following error: Environment variable not found: "DATABASE_URL".

My .env file looks like this:

KERNEL_CLASS=App\Kernel
APP_SECRET=s$cretf0rt3st
SYMFONY_DEPRECATIONS_HELPER=999999

DATABASE_URL='mysql://root:@localhost:3306/test'

I'm new to symfony and I can't figure out the problem.