nfqakademija / kickstart

OFFICIAL NFQ Academy Symfony 4 start project setup with the included docker local dev env.
4 stars 68 forks source link

Some tips for Windows users #77

Open EdvardasP opened 4 years ago

EdvardasP commented 4 years ago

Hello students,

I was one of the students at the NFQ academy. I developed on Windows and met problems launching the project. I will share my experience to save your time. Here are my tips.

  1. I suggest using Vagrant instead of Docker Toolbox (it is for older Windows versions).
  2. Who has experience with Laravel Homestead, you can use it. It works fine as well. Here is a great tutorial, how to install Homestead on Windows. Why Homestead? You can set up a local domain address, something like - nfq.test. Probably you can do that and without Homestead, I did not try.
  3. Once Vagrant setup and running, enter Vagrant vagrant ssh. Go to the project folder, for example, cd code/project and clone your project, which will be based on kickstart.
  4. Then follow up instructions from kickstart.
  5. Maybe it was only for me, but I had numerous problems launching the project, mostly with MySQL container.

NOTE. Do not forget to revert all changes to the original in file docker-compose.yml before pushing to your repository.

It is just my advises, hopefully, it will help somebody. Choose what works best for you.

Good luck and have fun.