Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 753 Bytes

README.md

File metadata and controls

47 lines (36 loc) · 753 Bytes

Installation

Composer

{
    "require": {
        "yeaha/owl": "1.0.*"
    }
}

install

composer create-project yeaha/owl-site ./mysite

php-fpm + nginx

nginx.conf

server {
    listen              127.0.0.1:12345;
    root                /PATH/TO/mysite/public;
    index               index.php;

    location @default {
        include        fastcgi_params;
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_param  SCRIPT_FILENAME    /PATH/TO/mysite/index.php;
    }

    location / {
        try_files $uri @default;
    }
}

swoole

require swoole extension

php -q /PATH/TO/mysite/server.php start