Giter Site home page Giter Site logo

qt1280 / 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 1.08 MB

简单网站,thinkphp5

License: GNU General Public License v3.0

ApacheConf 0.08% PHP 20.94% HTML 30.68% JavaScript 42.74% CSS 5.56%

thinkphp-ozgweb's Introduction

###部署步骤

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


2.需要根据实际情况设置thinkphp-ozgweb/public/static/simple/js/cfg.js的web_res_root部分(资源文件的目录)和web_root部分(网站的根目录)


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


4.ckeditor需要自行下载,对应目录thinkphp-ozgweb/public/static/ckeditor


5.thinkphp5需要自行安装


6.验证码部分的配置,https://github.com/top-think/think-captcha


7.在thinkphp-ozgweb目录下执行一次npm install,然后执行一次webpack


8.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/

后台入口:thinkphp-ozgweb/public/mgr

后台用户密码都是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.