code: def init():
      
      global _users, _names
      _configure_app(app)
      _users, _names = _init_login_manager(app)
      _configure_logger()
      init_scheduler(app.config.get('SQLALCHEMY_DATABASE_URI'))
      db.init(app.config.get('SQLALCHEMY_DATABASE_URI'))
docs: Initialise and configure the app, database, scheduler, etc.
  
      This should be called once at application startup or at tests startup
      (and not e.g. called once for each test case).