Giter VIP home page Giter VIP logo

thinkphp-ozgweb's Introduction

###部署步骤

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 /thinkphp-ozgweb/server/mgr/ {
	if (!-e $request_filename) {
		rewrite ^/thinkphp-ozgweb/server/(.*)$ /thinkphp-ozgweb/public/index.php?s=$1 last;
		break;
	}
}
location /thinkphp-ozgweb/ {
	if (!-e $request_filename) {
		rewrite ^/thinkphp-ozgweb/(.*)$ /thinkphp-ozgweb/public/$1 last;
		break;
	}
}

==========

后台入口:thinkphp-ozgweb/mgr

后台用户密码都是admin。

thinkphp-ozgweb's People

Contributors

ouzhigang avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.