DEV Community

mostafalaravel
mostafalaravel

Posted on

How to clone the same environment I have on the local machine to the deployment environment?

Hello ,

Let me first talk about my local env :

I work on a Laravel project using the vagrant: (PostgreSQL 12.4 + PHP 7.4.10 )

The problem is I discovered that some results are not not the same between my local and the prod env especially when about the eloquent requests (results are not the same some times)

so, my question as the title said, how to clone my local env to the prod server ?

thanks

Top comments (0)