-
Notifications
You must be signed in to change notification settings - Fork 16
mockpy command line configurations
Mockpy can be started as a standalone web server or as a proxy web server.
mockpy start
starts mockpy as a standalone web server on port 9090
mockpy start --port PORT
to change the default port
mockpy start --proxy
starts mockpy as a proxy web server
mockpy start --proxy --no-proxy-update
by default mockpy will change mac web proxy settings to point to the started proxy server, by passing --no-proxy-update
you opt out from changing mac web proxy which means you have to change the web proxy on mac settings manually
mockpy start --inout INOUT
changes the inout directory that contains the YAML files, by default this mockpy will search for an inout
directory in the current working directory
mockpy start --res RES
changes the res directory that contains the static files (JSON/HTML/PNG/Etc...), by default this mockpy will search for a res
directory in the current working directory
For more info run mockpy start --help
on your terminal