{
"require": {
"yeaha/owl": "1.0.*"
}
}
composer create-project yeaha/owl-site ./mysite
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;
}
}
require swoole extension
php -q /PATH/TO/mysite/server.php start