-
Notifications
You must be signed in to change notification settings - Fork 1
Testing Server (serve)
JulianFun123 edited this page Nov 17, 2019
·
1 revision
We are using the built in php -S testserver!
php uppm serve
INFO
Every option is optionial!
Option | Default |
---|---|
directory | ./ (project directory) |
routerfile | none |
host | 0.0.0.0 (localhost) |
port | 8000 |
{
"name": "uppm",
...
"serve": {
"directory": "public",
"routerFile": "index.php",
"host": "0.0.0.0",
"port": 8000
}
}
routerFile
Redirects every request to the file. It's useful for routing!
UPPM - InteraApps 2019