DEV Community

loading...

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

mostafalaravel profile image mostafalaravel ・1 min read

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

Discussion (0)

pic
Editor guide