public static VaadinForHeroku herokuServer ( final VaadinForHeroku server ) { return server . withMemcachedSessionManager ( MemcachedManagerBuilder . memcacheAddOn ( ) ) . withHttpPort ( Integer . parseInt ( System . getenv ( VaadinForHeroku . PORT ) ) ) . withProductionMode ( true ) . openBrowser ( false ) ; }
Configures the given server for Heroku