Giter VIP home page Giter VIP logo

easytp's Introduction

easytp

代码托管

名称 地址
github https://github.com/repertory/easytp.git
aliyun https://code.aliyun.com/wangdong/easytp.git

特别鸣谢

感谢以下朋友的捐赠 (按捐赠时间排列)

王建峰 朱闯 杨瀚森 任志强 董亚明 徐永宾 郑宗岳 翌玄 李军辉 建亮

感谢以下网友代码上的贡献 (排名不分先后)

XOFER


常见问题

  • 安装环境有什么要求?

:要求PHP5.3以上,apache或者nginx都可以

  • 程序部署后直接跳到了404页面?

:默认需要配置伪静态才能正常访问,如果不会配置可以修改PHP全局的配置文件 App/Common/Conf/config.php 中的URL模式即可

  • 不会安装imagick扩展怎么办?

:从2.0版本开始已经不再强制开启imagick扩展了,但必须启用php-gd扩展

  • 安装密码是什么?

:安装密码为:wangdong.io

  • 可以在SAE环境上运行吗?

: 两种方式部署: 1.SAE上新建应用选择导入代码即可直接运行(推荐使用); 2.其他方式则必须先手动开启storage(命名为public) memcache kvdb mysql(共享型) 然后修改文件config.yaml,增加rewrite规则

- rewrite: if(!is_dir() && !is_file() && path~"^(.*)$") goto "index.php/$1"

docker环境

随着软件更新,之前的环境可能会碰到许多问题

启动方法

docker-compose up -d

配置参数

  • DB_HOST = mysql
  • REDIS_HOST = redis

nginx伪静态配置

location / {
      root   /var/www/html;
      index  index.html index.htm index.php;

      if (!-e $request_filename){
          rewrite ^/(.*)$ /index.php?s=/$1 last; #rewrite
      }
  }

easytp's People

Contributors

repertory avatar

Watchers

James Cloos 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.