AhmadGomaa's avatar

Best practice of update project laravel on live server with small memory

   Best practice for update project laravel on live server with small memory that i used 
  microservices and there is no chance for increasing memeory and doing swap, so there is 
  another solution instead of that solution  ?
1.  Edit the composer.json file locally to have the packages/versions you want.
2.  Run composer update still on your local machine. This will generate a new                    
            composer.lock file.
3.  Make sure your app still works with the new versions / packages.
4.  Deploy both the new composer.json and the composer.lock file to production.
5.  Run composer install --no-dev on the production server.
0 likes
0 replies

Please or to participate in this conversation.