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 6a4a968 commit 0d22a78
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-orm": "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 0d22a78

Please sign in to comment.