This is a learning repository
-
Clone repository
https://github.com/Abbasumaru/Laravel-project.git cd learning-admin/ -
Copy sample .env.sample file
cp .env.sample .envEdit the following environment variables inside the newly copied
.envfileAPP_NAME="Learning Admin" <-- anything you want :) APP_URL=http://learning-admin.test <-- should match the URL you want to access the app with DB_DATABASE=learning_admin <-- database name DB_USERNAME=root <-- database username DB_PASSWORD=root <-- database password -
Install composer dependencies
composer install <-- or composer update to update the dependencies -
Migrate and seed database
php artisan migrate --seed <-- required to seed your database with dummy records for testing