Laravel – Installation steps after cloning

    • Clone the project from Git repository
    • Go to the folder application using cd
    • Run composer install
    • Copy .env.example file to .env on root folder.  cp .env.example .env
    • Open .env file and change the database name (DB_DATABASE) , username (DB_USERNAME) and password (DB_PASSWORD)
    • Run php artisan key:generate
    • Run php artisan migrate
    • Run sudo chgrp -R www-data storage bootstrap/cache
    • Run sudo chmod -R ug+rwx storage bootstrap/cache

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s