Hi amigos! This repository holds a brand new, shiny Symfony application and Docker setup. The Docker setup is not required - just here to help!
Use git
and the magic of the Internet to clone this repository to your
local machine.
NOTE: If you prefer to not use Docker, that's ok! See no-docker-setup.md for details.
To get the application running, first start the Docker containers. From inside this directory, run:
docker-compose up -d
If you get any "port is already allocated" errors, you may already have another Docker project running that is trying to share ports to your local machine. Try shutting those down. If that doesn't help, let me know!
Next, "bash" into the web
container. We'll be running all of our
commands from inside this container:
docker-compose exec web bash
This will take you to the working directory, which is /var/www
.
Finally, download the Composer dependencies and get the database
set up by running (from inside the web
container):
composer install
That's it! Port 8089
is exposed via docker, so you should now be able
to access the site by going to:
If you can see a big happy "Welcome to Symfony" page... you rock!
If not... I'm pretty sure you still rock. And if you need some help debugging, ping me on Slack - Ryan Weaver.