How to Deploy Laravel website online to localhost system

Best way to Deploy online laravel website to localhost (xampp )server 

 Install the Same version on your localserver localhost and copy all files from the online server. 





  1. Install Web Server (e.g. WAMP, XAMPP, MAMP).
  2. Install Composer.
  3. Copy the project to his computer.
  4. Export the database (if any), then import it on his computer.
  5. Open terminal/cmd, locate to the project folder, run: composer update.
  6. After that, run: composer dump-autoload.
  7. Visit it in the browser.
  8. Grab some drink, and relax. That should do it.

No comments:

Post a Comment

Pages