Friday, June 10, 2016

How to open downloaded laravel projects from GITHUB on localhost ? | How do I use a github based laravel project? | How to Run a downloaded project from github in Laravel?


laravel project on github


It's quite easy how you can actually  run a laravel project downloaded from gitHub. Let's follow the following process:

1. You need to download the project from GitHub repository.
2. Extract the file and put it in htdocs
3. Change the DB details in the .env file and also in the /config/database.php ( such as DB_DATABASE, DB_USERNAMEDB_PASSWORD 
4. Then open CMD and Go to the directory where the project is usign command prompt. 
5. Enter the command : composer install 
6. Enter the command : php artisan migrate
7.  Enter the command: php artisan db:seed (if it has any seeder table)
7. That's it. So if yo run the project on the browser you can easily access it.

That's for today. Hope you liked and stay tune for the next tutorial. Thank you!

Related Articles

0 comments:

Post a Comment