Last active
March 6, 2022 16:03
-
-
Save FernandoCutire/6694ea3eb955cec815930b816cce6a85 to your computer and use it in GitHub Desktop.
Windows, MacOS and Linux
https://phpcoder.tech/how-to-run-laravel-project-on-localhost/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run the XAMPP or any server on your system, open PHPMYADMIN or database, create the database named with homestead type utf8_general_ci. | |
Pull or download the Laravel project from Git. | |
On the Laravel project package, you can see the .enc.example file which is inside your root directory. Rename .env.example file to. .envSo, open a command prompt and write the following command mv .env.example .env. | |
Open the console and cd to the root directory of your project. | |
Run composer install or php composer.phar install. | |
Run php artisan key:generate | |
Run php artisan migrate | |
Run php artisan db:seed run seeders, if any. | |
Run php artisan serve. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment