Ensure you have the hostupdater plugin installed:
$ vagrant plugin install vagrant-hostupdater
And that the Vagrantfile is in the root of your symfony project (same place as your composer.json
)
$ vagrant up
Either use this as your parameters.yml
file, or enter these details when running composer install
# This file is auto-generated during the composer install
parameters:
database_host: localhost
database_port: null
database_name: symfony
database_user: symfony
database_password: symfony
secret: ThisTokenIsNotSoSecretChangeIt