classafBedSheet::Main

sys::Obj
  util::AbstractMain
    afBedSheet::Main

Runs a BedSheet web application (Bed App) from the command line.

C:\> fan afBedSheet [-env <env>] [-proxy] [-noTransDeps] <appModule> <port>

Where:

env:          (optional) The environment to start BedSheet in -> dev|test|prod
proxy:        (optional) Starts a dev proxy on <port> and launches the real web app on (<port> + 1)
noTransDeps:  (optional) Do not load transitive dependencies.
appModule:    The qname of the AppModule or pod which configures the BedSheet web app
port:         The HTTP port to run the Bed App on

Example:

C:\> fan afBedSheet -env DEV -proxy acme::AppModule 8069