How to setup laravel git project

1. First of all Create a database for project in your system
2. Download composer https://getcomposer.org/download/ and install it in your system
3. Copy git repository url
4. Install git and run git command
“git clone https://github.com/ashishnishad/laravel_api.git” in console
5. cd to project folder and copy .env.example to .env and fill the database details
6. Run composer install for installing all packages
7. Run npm install for installing npm_modules
8. Run npm run dev for webpack
9. Run php artisan key:generate
10. Run php artisan migrate
11. Run php artisan db:seed to run seeders, if any.
12. Run php artisan serve

OUTPUT: #####Running project at localhost:8000 🙂 #ThikHai

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow by Email
LinkedIn
Share
Instagram