Installation Laraval can refer to http://laravelacademy.org/post/6665.html
Own this installation is to use composer to install drip, the premise needs your own computer installed composer, and add environment variables, so directly can use composer,
by Composer Create-project
composer create-project --prefer-dist laravel/laravel blog
So the default installation of the latest drops, if you want to install laravel5.2, you can add the following command
composer create-project --prefer-dist laravel/laravel blog 5.2.*
。
Wait a while and the directory will be generated
Next you need to go into this folder to execute composer install to mount the root directory of the Composer.json file inside the dependency package
Next you need to access the public directory, this is the portal file
This prompt key is incorrect when executing PHP artisan in this file root directory key:generate
This will be in the. evn file
Under Modify Database Configuration
Db_connection=mysql
db_host=127.0.0.1
db_port=3306
Db_database=homestead
Db_username=homestead
Db_password=secret
This is your own database configuration
Visit again
So you can start the Laravel trip.
Window Laravel 5.* Installation