laravel-laradock-phpstorm icon indicating copy to clipboard operation
laravel-laradock-phpstorm copied to clipboard

Stable release and Laravel Versions?

Open edmundluong opened this issue 8 years ago • 7 comments

Hi Larry,

Great repository. Looks very promising. I was wondering whether this repository is under active development and whether there is a stable release for the repository.

Also, I was wondering what exactly was changed from the original Laravel 5.2 repository in this project. Say I wanted to clone Laravel 5.1 or Laravel 5.3 instead, how hard would it be to modify those versions so it would play nicely with laradock and phpstorm?

Thanks!

edmundluong avatar Sep 10 '16 20:09 edmundluong

@edmundluong Actually, this project is intended as a robust example. It is best/better to fork LaraDock. From there, create a branch for your own use-case that can be kept current by merging updates from the 'upstream' LaraDock master. I am working on a PHPStorm configuration _guide that will be submitted as a PR to LaraDock. At that point this project will be deprecated.

LarryEitel avatar Sep 10 '16 21:09 LarryEitel

@LarryEitel Great, thanks for the update. Looking forward to that configuration guide!

edmundluong avatar Sep 11 '16 14:09 edmundluong

Will that guide cover Mac as well?

digitalit avatar Sep 20 '16 11:09 digitalit

It will to the extent that Mac users can contribute as I run on Windows. :) I am on the road for a couple weeks so I don't have a clear thought as to when I will find the time to do this. :( Stay tuned. :)

LarryEitel avatar Sep 20 '16 11:09 LarryEitel

Great @LarryEitel, I'm running Laravel dev on Mac Homestead Vagrant with PhpStorm and Xdebug working.

I have an iMac 27 with SSD, i7, 16GB Ram and i don't think it is slow. I'm curious and i would like to switch to Docker but do you think i will gain anything from that?

And can i have my databases preserved when shutting down my computer like on my Homestead Vagrant mashine?

digitalit avatar Sep 20 '16 16:09 digitalit

I ran Vagrant before switching to Docker. I have enabled opcache with seems to speed things up. I do not have a prob with performance.

As for databases, yes they are preserved between restarts. HOWEVER, if you delete the volume image for some reason you WILL lose data.

I have not gone back to Vagrant. There was a modest investment of time to wrap your head around Docker ... but I think it was worth it. :)

LarryEitel avatar Sep 20 '16 20:09 LarryEitel

Thank you @LarryEitel for answering my questions.

I have a feeling i two wont use Vagrant if i just can get LaraDock to work on my Mac. I also need to be able to run all my project in the same containers and just ad new paths in thew docker-compose.yml and edit my host file with domain aliases pointing to the Docker container.

I get "Server not available" on http://localhost and http://127.0.0.1 even thought all containers are running. In the docker-compose.yml it says "IMPORTANT: Replace with your Docker Host IP" but i cant figure out how to retrieve that IP. When i used Docker Machine i could run an command to get the IP but now i run Docker Native for Mac and i cant?

I feel i'm almost there so i would be so grateful for some hints on how to get this working.

digitalit avatar Sep 20 '16 21:09 digitalit