Closed mohammadmahboubeh closed 3 years ago
Make sure your ENV file as these settings:
APP_ENV=local
and APP_DEBUG=true
Yeah there configured as mentioned. I mean how can I debug from docker container?
thanks from your prompt reply
If you run NOSH from docker-compose, just run it without the daemon option (docker-compose up) and you can see all commands and network functions between each container (web server, database) in real time; is that what you mean?
If I want to debug and develop it like changing the name of some fields to fit into vet clinic, I should use let say vs code to see the change in real time
Debugging using docker-nosh is probably not the best way to do this if you want to test out new fields, UI, PHP changes. Docker images are ephemeral and any changes you make won't be saved and it's hard to edit changes directly in a Docker image since it's using a very sparse Alpine Linux build. Probably best to fork the NOSH2 repo and install it manually with Apache as the web server my MariaDB or MySQL as the database; and work off your local development machine to see changes in real time.
I see. Tried many times to install it locally using Apache but too much errors got, then you advise me to use docker. If is it possible to send all the dependency must have or the steps of installation it would be much appreciate. Here is my email: mahboubeh1991@outlook.com
Thanks Dr.shihjay
Hi there! How can I debug the project using vs code or phpstorm?
Thanks