zjanhoo / thinkphp-ozgweb

简单网站后台,thinkphp5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

###部署步骤

1.使用vue的后台,cd到thinkphp-ozgweb/vue/mgr,然后npm i && npm run build,修改前端的路径在thinkphp-ozgweb/vue/mgr/src/components/common/common.js


2.使用react的后台,cd到thinkphp-ozgweb/react/mgr,然后npm i && ./build.sh,修改前端的路径在react/mgr/src/common.js


3.执行composer update topthink/framework  安装tp5


4.执行composer require topthink/think-captcha   安装验证码库


5.nginx运行需要在server节加入如下配置	
location /server/mgr/ {
	if (!-e $request_filename) {
		rewrite ^/server/(.*)$ /index.php?s=$1 last;
		break;
	}
}
location / {
	if (!-e $request_filename) {
		rewrite ^/(.*)$ /$1 last;
		break;
	}
}

==========

后台入口:/mgr

后台用户密码都是admin。

About

简单网站后台,thinkphp5

License:GNU General Public License v3.0


Languages

Language:CSS 44.2%Language:JavaScript 29.3%Language:Vue 14.7%Language:PHP 11.5%Language:HTML 0.4%Language:Shell 0.0%