基于webman搭建的后臺(tái)管理系統(tǒng)EasyAdmin8-webman,PHP 最低版本要求不低于 8.0、Layui v2.8.x.
webman
https://gitee.com/wolf18/EasyAdmin8-webman詳細(xì)介紹可看 https://easyadmin8.top/guide/webman.html
其中
webman
分為main
分支和thinkphp
分支如果你習(xí)慣
Laravel
開(kāi)發(fā),請(qǐng)安裝main
分支版本如果你習(xí)慣
ThinkPHP
開(kāi)發(fā),請(qǐng)安裝thinkphp
分支版本其他版本
ThinkPHP
https://gitee.com/wolf18/EasyAdmin8
Laravel
https://gitee.com/wolf18/EasyAdmin8-Laravel不需要額外手動(dòng)創(chuàng)建數(shù)據(jù)庫(kù),不需要導(dǎo)入任何數(shù)據(jù)表
main
分支 http://webman.easyadmin8.top/admin/
thinkphp
分支http://webman-tp.easyadmin8.top/admin/
EasyAdmin8-webman 使用 Composer 來(lái)管理項(xiàng)目依賴(lài)。因此,在使用 EasyAdmin8-webman 之前,請(qǐng)確保你的機(jī)器已經(jīng)安裝了 Composer。
如果你習(xí)慣
Laravel
開(kāi)發(fā),請(qǐng)安裝main
分支版本
1.下載安裝包
git clone https://github.com/wolf-leo/EasyAdmin8-webman
或者
git clone https://gitee.com/wolf18/EasyAdmin8-webman
如果你習(xí)慣
ThinkPHP
開(kāi)發(fā),請(qǐng)安裝thinkphp
分支版本
1.下載安裝包
git clone -b thinkphp https://github.com/wolf-leo/EasyAdmin8-webman
或者
git clone -b thinkphp https://gitee.com/wolf18/EasyAdmin8-webman
接著往下走
2.安裝依賴(lài)包(確保 PHP 版本 >= 8.0)
在根目錄下 composer install ,如果有報(bào)錯(cuò)信息可以使用命令 composer install --ignore-platform-reqs
3.拷貝 .example.env 文件重命名為 .env ,命令 cp .example.env .env ,修改數(shù)據(jù)庫(kù)賬號(hào)密碼參數(shù)
4.命令啟動(dòng)(php start.php start 或者 php start.php start -d)
詳細(xì)啟動(dòng)配置區(qū)別請(qǐng)點(diǎn)擊:http://www.wtbis.cn/doc/webman/install.html#2.%20%E8%BF%90%E8%A1%8C
或者反向代理(以 Nginx 為例,其中8787端口號(hào)可以在 .env 配置中修改)
upstream webman {
server 127.0.0.1:8787;
keepalive 10240;
}
server {
server_name 站點(diǎn)域名;
listen 80;
access_log off;
root /your/webman/public;
location ^~ / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
proxy_set_header Connection "";
if (!-f $request_filename){
proxy_pass http://webman;
}
}
}
額,我項(xiàng)目都做一半了,你分享了,我這不得重做嗎~。~