Console command / Web Server / server:run
Note: You are currently reading the documentation for Bolt 5.0. Looking for the documentation for Bolt 5.2 instead?
Nut's server:run
command runs PHP's built-in web server for your site testing
and basic development.
Note: Do not use this to run production web sites, it is for development and testing only.
Usage¶
Arguments¶
Argument | Description |
---|---|
address | Address:port [default: "0.0.0.0"] |
Options¶
Option | Description |
---|---|
-p, --port=PORT | Address port number [default: "8000"] |
Examples¶
Default¶
Specifying host name and port¶
Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.