Coder Social home page Coder Social logo

falcon's Introduction

BullSoft Openshift

Port from openshift, but not like that, Only for ubuntu server - 'cause we use sudo apt-get install in build script for instance.

To make it faster, I have made a mirror in Baidu BCS for packages here.

##INSTALL

###Firstly, add these to your ~/.bashrc

export OPENSHIFT_DIY_DIR=$HOME
export OPENSHIFT_DIY_LOG_DIR=$HOME/log
export OPENSHIFT_DIY_IP=0.0.0.0
export OPENSHIFT_DIY_PORT=8080

export OPENSHIFT_REDIS_PORT=6379
export OPENSHIFT_HAPROXY_PORT=80

export OPENSHIFT_REPO_DIR=$HOME
export OPENSHIFT_DATA_DIR=$HOME/.openshift/data
export OPENSHIFT_TMP_DIR=$HOME/.openshift/tmp

if [ -f ${OPENSHIFT_DATA_DIR}/.bash_profile ]; then
    . ${OPENSHIFT_DATA_DIR}/.bash_profile
fi

To make these effective, you should source it.

soure ~/.bashrc

###Then, type these on terminal:

cd ~
git clone https://github.com/BullSoft/openshift.git
cd ~/openshift/action_hooks/
./build
  Maybe you have to type ```password``` to let it continue.

###Finally, type:

cp -r ~/openshift/wwwroot ~/

... and the file structure would be like this

.
├── log
│   ├── access.log
│   ├── error.log
│   ├── php-fpm.log
│   └── redis_6379.log
├── openshift
│   ├── action_hooks
│   ├── README.md
│   ├── tmpl
│   └── wwwroot
├── run
│   ├── mysql.pid
│   ├── mysql.sock
│   ├── nginx.pid
│   ├── php-fpm.pid
│   ├── php-fpm.socket
│   └── redis_6379.pid
├── runtime
│   ├── etc
│   ├── haproxy
│   ├── libs
│   ├── mysql
│   ├── nginx
│   ├── php5
│   └── redis
└── wwwroot
    └── index.php
    

falcon's People

Contributors

guweigang avatar xiejunfeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

falcon's Issues

New Function

1.Need exeMicro function
2.团队之间分别些配置文件,然后执行一个php文件将 配置合并
1)配置文件最好是 php文件,用 return 数组的形式
APC那种缓存用了 肯定还是 php 配置文件快,不用读硬盘了
2)还有不同的模块分别写配置文件,然后用 combine_config.php合并所有当前目录
的配置文件到一个数组里面去
3.我的想法:支持phalcon-devtools 的命令,可能要修改一下phalcon-devtools的模版代码

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.