Skip to content

Commit

Permalink
修改README
Browse files Browse the repository at this point in the history
  • Loading branch information
yeaha committed May 31, 2016
1 parent 07e1256 commit 298c3af
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,43 +5,7 @@
```json
{
"require": {
"yeaha/owl": "0.3.*"
"yeaha/owl-core": "~1.0"
}
}
```

# [Hello world](https://github.com/yeaha/owl-site)

## 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](https://github.com/swoole/swoole-src) extension

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

0 comments on commit 298c3af

Please sign in to comment.