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.
- Install Web Server (e.g. WAMP, XAMPP, MAMP).
- Install Composer.
- Copy the project to his computer.
- Export the database (if any), then import it on his computer.
- Open terminal/cmd, locate to the project folder, run:
composer update
. - After that, run:
composer dump-autoload
. - Visit it in the browser.
- Grab some drink, and relax. That should do it.
No comments:
Post a Comment