Giter Club home page Giter Club logo

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
    

布尔软件's Projects

openshift icon openshift

Port from openshift, but not like that - only for ubuntu server now

php-cpp icon php-cpp

Library to build PHP extensions with C++

php-ddd-example icon php-ddd-example

🐘🎯 Hexagonal Architecture + DDD + CQRS applied in PHP using Symfony 4

php-ext-trie-filter icon php-ext-trie-filter

php extension for spam word filter based on Double-Array Trie tree, it can detect if a spam word exists in a text message. 关键词过滤扩展,用于检查一段文本中是否出现敏感词,基于Double-Array Trie 树实现。

php-pinyin icon php-pinyin

A PHP extension converting Chinese characters to Pinyin

phptrace icon phptrace

A tracing and troubleshooting tool for PHP scripts.

phpython icon phpython

PHPython: An extension to eval python3 codes in PHP

pni icon pni

PHP Native Interface(PNI), a PHP extension that enables PHP code to call and be called by native applications (programs specific to a hardware and operating system platform) and libraries written in other languages such as C, C++ and assembly.

pomander icon pomander

Deploy your PHP with PHP. Inspired by Capistrano and Vlad.

shopbb icon shopbb

A shopping software developed with phalconplus which based on PhalconFramework

snipe-it icon snipe-it

A free open source IT asset/license management system

swoft icon swoft

php high performance coroutine framework base on swoole

wework-finance-sdk icon wework-finance-sdk

WeWork Finance SDK,企业微信会话存档PHP SDK;使用PHP::FFI,基于企微官方C_SDK开发

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.