Lirecord基于 Laravel 5.3 留言板系統(tǒng)
LiRecord 2.0 是一款基于 laravel 5.3 開發(fā)的 LiRecord 留言板系統(tǒng),包含基本的留言添加、樓層回復(fù)、用戶管理、SEO 設(shè)置等功能。
本項(xiàng)目受 GPL V3 協(xié)議保護(hù)。
演示
安裝前提
-
PHP 5.3.2+
-
安裝git 安裝教程:http://www.cnblogs.com/zhcncn/p/4030078.html
-
安裝composer 安裝教程:http://docs.phpcomposer.com/00-intro.html
安裝步驟
-
clone lirecord 到服務(wù)器網(wǎng)站目錄(clone前請先安裝git)
cd home/wwwroot/xxx/web #進(jìn)入到你的web目錄路徑 git clone https://github.com/Licoy/laravel5.3-LiRecord2.0.git
2.通過composer更新項(xiàng)目
composer install
3.copy .env.example 為 .env
4.創(chuàng)建一個(gè)數(shù)據(jù)庫,在.env配置文件以下選項(xiàng)填入對應(yīng)的值
DB_HOST=localhost #數(shù)據(jù)庫地址 DB_PORT=3306 #端口 DB_DATABASE= #數(shù)據(jù)庫名 DB_PREFIX= #數(shù)據(jù)表前綴 DB_USERNAME=root #數(shù)據(jù)庫用戶名 DB_PASSWORD=root #數(shù)據(jù)庫密碼
5.修改storage的目錄權(quán)限
sudo chmod -R 777 storage/
6.生成laravel密鑰
php artisan key:generate
7.數(shù)據(jù)遷移
php artisan migrate
8.填充數(shù)據(jù)
php artisan db:seed
9.重寫模塊
apache:開啟mod_rewrite模塊
nginx:參考https://www.licoy.cn/2716.html
10.將apache或nginx的root目錄指定為網(wǎng)站目錄的public目錄
11.安裝完成,訪問你綁定的域名即可。(默認(rèn)管理郵箱:[email protected] 密碼:123456)
評論
圖片
表情
