Coder Social home page Coder Social logo

ptphp / gitflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dozoisch/gitflow

0.0 0.0 0.0 690 KB

Git extensions to provide high-level repository operations for Vincent Driessen's branching model.

Home Page: http://nvie.com/posts/a-successful-git-branching-model/

License: Other

Makefile 20.59% Shell 59.45% Batchfile 19.96%

gitflow's Introduction

Build Status Latest Stable Version

目录结构

project
├── README.md
├── app                     # 后台源码
│   ├── common              # 常用代码库
│   ├── config              # 网站后端配置
│   ├── src                 # PHP主要源代码  
│   │   ├── Controlelr      # 控制器  
│   │   ├── Model           # 模型 
│   │   ├── Models          # 未迁移模型,会合并到 Model,没有使用 namespace
│   │   └── View            # 视图 
│   ├── api.php             # 接口初始化代码  
│   ├── ptphp.php           # Cli初始化代码
│   └── init.php            # 后台初始化代码    
├── bin                     # 命令行执行代码
│   └── deploy.php          # 部署脚本   
├── etc                     # 服务器配置
│   ├── nginx               # Nginx配置
│   └── supervisor          # 守护进程配置
├── logs                    # 日志
├── docs                    # 文档说明
├── src                     # 源码
│   └── PtPHP               # PtPHP
├── tests                   # 测试代码
├── webroot                 # 网站根目录
├── package.json            # package.json
├── composer.json           # composer.json
├── phinx.yml               # 数据库配置
└── webpack.config.js       # webpack配置文件

安装

npm install webpack-dev-server webpack -g -d
cp package.dist.json package.json
npm install -d
npm run fix_antd
cp composer.dist.json composer.json
composer config repo.packagist composer https://packagist.phpcomposer.com
composer clearcache
composer install
composer require ptphp/ptphp

配置

#数据库
cp phinx.dist.yml phinx.yml

#系统配置
##开发环境
cp app/config/env/development.dist.php app/config/env/development.php

##测试环境
cp app/config/env/testing.dist.php app/config/env/testing.php

#前端配置
cp app/config/app.dist.json app/config/app.json

#webpack config
cp webpack.config.dist.js webpack.config.js 

#系统环境(虚拟主机或者不能配置服务器环境变量专用)
#cp app/config/.env.dist.php app/config/.env.php 

vendor/bin/phinx migrate

运行

npm start

open in browser

http://127.0.0.1:3080

编译

npm run build

Resources

Author

[email protected]

文档

License

The MIT License(http://opensource.org/licenses/MIT)

gitflow's People

Contributors

algernon avatar bstpierre avatar defeated avatar dolmen avatar dozoisch avatar ejholmes avatar gmallard avatar hollow avatar jasom avatar jasonwoof avatar jbernard avatar jeromebaum avatar jezdez avatar josephalevin avatar jptoto avatar kiall avatar kixx avatar markborcherding avatar mykehsd avatar nowells avatar nvie avatar pcragone avatar phoet avatar sinbad avatar sjaeckel avatar sos4nt avatar talios avatar vedang avatar zerotao avatar zoramite 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.