1. Clone GitHub repo for this project locally
git clone linktogithubrepo.com/ projectName
2. cd into your project
cd projectName
3. [Optional]: Checkout the “Start” tag so you have a fresh install of the project (and not the final files)
git checkout tags/start -b tutorial
4. Install Composer Dependencies
composer install
5. Install NPM Dependencies
npm install
6. Create a copy of your .env file
cp .env.example .env
7. Generate an app encryption key
php artisan key:generate
8. Create an empty database for our application
9. In the .env file, add database information to allow Laravel to connect to the database
In the .env file fill in the
DB_HOST
, DB_PORT
, DB_DATABASE
, DB_USERNAME
, and DB_PASSWORD
options to match the credentials of the database you just created.10. Migrate the database
php artisan migrate
11. [Optional]: Seed the database
php artisan db:seed
I impressed by your efforts of writing skill ,I love it .This post is really amazing . I will wait for your attractive blogs. Thank you for sharing.
ReplyDeleteCanada Immigration Consultants