First Installation Dependencies
composer install
Step 2. Copy the configuration file
cp .env.example .env
The third step is to create a new application key
php artisan key:generate
The fourth step is set to edit database files .env
CACHE_DRIVER=array DB_HOST=YOUR_DATABASE_HOST DB_DATABASE=YOUR_DATABASE_NAME DB_USERNAME=YOUR_DATABASE_USERNAME DB_PASSWORD=YOUR_DATABASE_PASSWORD
The fifth step is added automatically load
composer dump-autoload
Step Six Run database migration
php artisan migrate
Step Seven operational data fill
php artisan db:seed
Finally nginx rewrite configuration
location / { index index.html index.htm index.php; if (!-e $request_filename){ rewrite ^/(.*)$ /index.php/$1 last; } }