Lenra Docs
Register on Lenra
  • Home
  • Getting started
    Open/Close
  • Guides
    Open/Close
  • Features
    Open/Close
  • References
    Open/Close
  • Contribute

    build

    This subcommand builds the Lenra app of the current directory. The app configuration is defined by a configuration file.

    $ lenra build --help
    lenra-build 
    Build your app in release mode
    
    USAGE:
        lenra build [OPTIONS]
    
    OPTIONS:
            --config <CONFIG>    The app configuration file [default: lenra.yml]
            --expose <EXPOSE>    Exposes services ports [possible values: app, devtool, postgres, mongo]
        -h, --help               Print help information
            --production         Remove debug access to the app
        -v, --verbose            Run the commands as verbose