Fetch the repository succeeded.
一款基于laravel5.1的开源博客cms系统,特别适合技术博客,具有以下特点
示例站点我的个人博客 icybee.cn
laravel需要composer来管理依赖 composer安装参考 laravel官网
git clone https://git.oschina.net/icybee/icyblog.git
cd icyblog
指向public 目录
server {
listen 80;
server_name tool.lu;
root /route/to/your/app/public;
index index.html index.php;
location / {
try_files $uri $uri/ /index.php$is_args$query_string;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
编辑.env文件,修改
DB_HOST=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
依次是数据库主机,database名,数据库用户和密码
##redis配置 编辑config/redis.php
<?php
return [
'host' => '127.0.0.1',
'port' => 6379
];
将默认的host和port改为实际的redis主机和端口
编辑app/Http/Controller/UploadBase64Controller 修改
file_put_contents('/alidata/www/laravelupload/upimg/'.$savname, base64_decode($base));
中的路径为你希望的保存图片的路径,记住赋予www用户路径写权限
icybee@yeah.net 欢迎骚扰~~
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Activity
Community
Health
Trend
Influence
:Code submit frequency
:React/respond to issue & PR etc.
:Well-balanced team members and collaboration
:Recent popularity of project
:Star counts, download counts etc.