Laravel : Steps I keep forgetting after installation

Step 1:

Copy the .env.example file to .env file

$ cp .env.example .env

Step 2:

Do a composer install.

Step 3:

Generate an application key.

php artisan key:generate

Step 4:

Edit environment file.

Step 5:

Setup/check database.

Step 6:

Setup virtual host if you want to.

Step 7:

Run migration if there are any. I used a seed flag along so that it will also seed the database.

php artisan migrate —-seed
Like what you read? Give Sworup Shakya a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.