Skip to main content

run

Function run 

Source
pub fn run(routes: Routes)
Expand description

Load .env files, configure logging and run the app.

Command-line flags understood by the generated binary:

  • (none) – serve
  • --export – pre-render static pages into the build output and exit
  • --routes – print the compiled route table and exit