Coder Social home page Coder Social logo

tongpan0 / thinkphp-ozgweb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wzihan/thinkphp-ozgweb

0.0 1.0 0.0 821 KB

简单网站后台,thinkphp5 rc3

License: GNU General Public License v3.0

JavaScript 38.70% ApacheConf 0.15% PHP 32.55% HTML 26.95% CSS 1.65%

thinkphp-ozgweb's Introduction

###部署步骤

1.需要根据实际情况设置thinkphp-ozgweb/application/config.php的web_res_root部分(资源文件的目录)和web_root部分(网站的根目录)


2.sb-admin2需要自行下载,https://github.com/BlackrockDigital/startbootstrap-sb-admin-2 ,对应目录thinkphp-ozgweb/public/static/simple/startbootstrap-sb-admin-2-gh-pages


3.thinkphp5需要自行安装


4.thinkphp5扩展类库需要自行下载然后覆盖到对应位置,https://github.com/ouzhigang/thinkphp-extend/tree/ozg


5.在thinkphp-ozgweb下执行一下grunt的任务,先npm install,然后grunt

6.nginx运行需要在server节加入如下配置	
location /thinkphp-ozgweb/public/static/ {
	access_log off;
	expires 10d;
}
location /thinkphp-ozgweb/public/ {
	if (!-e $request_filename) {
		rewrite ^/thinkphp-ozgweb/public/(.*)$ /thinkphp-ozgweb/public/index.php?s=$1 last;
		break;
	}
}

==========

后台入口:thinkphp-ozgweb/public/simple/index/login

后台用户密码都是admin。暂无前台。

thinkphp-ozgweb's People

Contributors

ouzhigang avatar

Watchers

 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.