安装及配置
lambq edited this page Jul 16, 2016
·
2 revisions
webshowu,一款基于 Laravel 开发的,做为分类目录程序管理平台框架。http://www.webshowu.com
- git clone 下载安装
git clone https://github.com/lambq/webshowu.git
cd viease
chmod -R 777 storage
chmod -R 777 bootstrap/cache
- 创建
.env
文件及修改文件里面的配置
curl https://raw.githubusercontent.com/lambq/webshowu/master/.env.example -o .env
//生成key
php artisan key:generate
- 配置nginx虚拟主机 把下面的代码放入您的nginx文件里面
location / {
try_files $uri $uri/ /index.php?$query_string;
}
- 创建数据库及填充数据库
确保你的
.env
里的数据库配置已经 OK.
php artisan migrate
php artisan db:seed
- 访问后台:
yourdomain.com/admin
账号:admin@webshowu.com
密码:webshowu