标签:artisan 服务 ide blog isa 用户 ble etc with
http_proxy=http://localhost:1080 composer create-project --prefer-dist laravel/laravel blog
composer require tcg/voyager
php artisan voyager:install --with-dummy
设置数据库:
CREATE DATABASE ‘voyager‘;
CREATE DATABASE voyager;
CREATE USER ‘dog‘@‘localhost‘ IDENTIFIED BY ‘123456‘;
GRANT ALL ON voyager.* TO ‘dog‘@‘localhost‘;
sudo cp /etc/nginx/sites-available/default /etc/nginx/sites-available/blog
sudo ln -s /etc/nginx/sites-available/blog /etc/nginx/sites-enabled/blog
修改/etc/hosts使本地也能够访问
默认用户:admin@admin.com
默认密码:password
标签:artisan 服务 ide blog isa 用户 ble etc with
原文地址:https://www.cnblogs.com/carious/p/9960241.html