running a laravel app locally

Solutions on MaxInterview for running a laravel app locally by the best coders in the world

showing results for - "running a laravel app locally"
Felipe
12 May 2016
1Create a database locally named what ever you want utf8_general_ci
2Download composer https://getcomposer.org/download/
3Pull Laravel/php project from git provider.
4Rename .env.example file to .env inside your project root and fill the database information. (windows wont let you do it, so you have to open your console cd your project root directory and run mv .env.example .env )
5Open the console and cd your project root directory
6Run composer install or php composer.phar install
7Run php artisan key:generate
8Run php artisan migrate
9Run php artisan db:seed to run seeders, if any.
10Run php artisan serve