Installation and Setup
You're setting up the development environment to create your web application.
Laravel
1
Step 1
Start command prompt window or terminal and change directory to laravel
cd laravel
2
Setp 2
For installing vendor Run in terminal or CMD: composer install
3
Setp 3
Copy .env file Run in terminal or CMD: cp .env.example .env
4
Setp 4
Copy .env file Run in terminal or CMD: php artisan key:generate
5
Setp 5
Create database with name "closer" or whatever you prefer in your sqlyog,laragon,xampp,wamp
Open and edit the /.env
file and provide your server details:
DB_CONNECTION="mysql"
DB_HOST="127.0.0.1"
DB_PORT="3306"
DB_DATABASE="YOUR DATABASE NAME"
DB_USERNAME="YOUR USERNAME"
DB_PASSWORD="YOUR PASSWORD"
Then run the below commands
php artisan migrate:fresh --seed
6
Setp 6
For installing node_modules Run in terminal or CMD: npm install
7
Setp 7
To run project
php artisan serve