Production Server (brisa start
)
brisa start
starts the application in production mode. To get a list of the available options with brisa start
, run the following command inside your project directory:
brisa start --help
The output should look like this:
Usage: brisa start [options]
Options:
-p, --port Specify port
brisa start
cannot be used with differentoutput
thanserver
(the default one). Foroutput
set tostatic
, you can use alternatives likebunx serve out
to run the build output and try the production assets locally.
Changing the port
The application will start at http://localhost:3000
by default. The default port can be changed via process.env.PORT
or with -p
flag, like so:
brisa start -p 8080