mirror of
https://github.com/YGGverse/next.git
synced 2025-02-05 03:34:15 +00:00
update readme
This commit is contained in:
parent
e75b79780a
commit
a920ac868b
24
README.md
24
README.md
@ -1,2 +1,24 @@
|
|||||||
# next
|
# next
|
||||||
PHP 8 Server for Nex Protocol
|
|
||||||
|
PHP 8 Server for [Nex Protocol](nex://piclog.blue/nex/info/specification.txt) based on [nex-php](https://github.com/YGGverse/nex-php) library
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
* `git clone https://github.com/YGGverse/next.git`
|
||||||
|
* `cd next`
|
||||||
|
* `composer update`
|
||||||
|
|
||||||
|
## Start
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
php src/nex.php\
|
||||||
|
host=127.0.0.1\
|
||||||
|
port=1900\
|
||||||
|
path=/path/to/dir
|
||||||
|
```
|
||||||
|
|
||||||
|
### Arguments
|
||||||
|
|
||||||
|
* `host` - optional string, `127.0.0.1` by default
|
||||||
|
* `port` - optional int, `1900` by default
|
||||||
|
* `path` - required string, destination files (public folder)
|
Loading…
x
Reference in New Issue
Block a user