- 基于Laravel6.2+VueJS2.x实现的Blog
- 后台采用前后端完全分离(SPA)开发
git clone https://github.com/codingcn/blog.git
cd blog
npm i
npm run prod
composer install
cp .env.example .env
php artisan key:generate
php artisan storage:link
php artisan migrate
php artisan db:seed
php artisan passport:keys
php artisan passport:client --personal
# 可以直接回车
# 进入项目的上层目录
cd ../
sudo chown -R www:www blog/
sudo find blog/ -type f -exec chmod 644 {} \;
sudo find blog/ -type d -exec chmod 755 {} \;
sudo chmod -R 777 blog/storage
sudo chmod -R 777 blog/bootstrap/cache
后台访问:ServerName/admin
账号:admin
密码:123456