wheels server open
Open the Wheels application in a web browser.
Synopsis
Description
The wheels server open
command opens your Wheels application in a web browser. It automatically detects the server URL and can open specific paths within your application.
Arguments
path
path
Type: String
Default:
/
Description: URL path to open (e.g.,
/admin
,/users
)Example:
wheels server open /admin
Options
--browser
--browser
Type: String
Description: Specific browser to use (chrome, firefox, safari, etc.)
Example:
wheels server open --browser=firefox
name
name
Type: String
Description: Name of the server to open
Example:
wheels server open name=myapp
Examples
Supported Browsers
The --browser
option supports:
chrome
- Google Chromefirefox
- Mozilla Firefoxsafari
- Safari (macOS)edge
- Microsoft Edgeopera
- Opera
If no browser is specified, your system's default browser is used.
Notes
The command first checks if the server is running before attempting to open
If the server isn't running, it will suggest starting it first
The path argument should start with
/
for proper URL constructionThe browser must be installed on your system to use the
--browser
option
Error Messages
"Server doesn't appear to be running"
The server must be started before you can open it in a browser:
Related Commands
wheels server start
- Start the serverwheels server status
- Check if server is running
See Also
Last updated
Was this helpful?