Skip to content

Latest commit

 

History

History
executable file
·
34 lines (26 loc) · 471 Bytes

File metadata and controls

executable file
·
34 lines (26 loc) · 471 Bytes

Slug-Laravel

Laravel 5.2

Require

    php -v >= 5.5.9
    composer
    nodejs

Nginx 指到public目录下

    location / {
        if (!-e $request_filename) {
            rewrite  ^(.*)$  /index.php?s=$1  last;
            break;
        }
    }

Install

    composer create-project --prefer-dist wilon/slug-laravel your_project_name

    # db
    php artisan migrate --force

    # gulp
    cd public
    npm install && npm start