This is a starter app from Symfony4 for easy forking for new starters.
- Install Virtualbox
- Install Vagrant
- Run
vagrant plugin install vagrant-hostsupdater
- Run
vagrant up
You now have a web server running on http://symfony.local.
You can edit the code directly in this directory to make changes.
You can ssh into the vagrant box with vagrant ssh
.
Get to the code with cd /srv/www/app/current
.
Once inside the vagrant box you can run Symfony commands, here are some useful ones:
# Clear the Symfony cache
$ bin/console cache:clear