code: def main():
      
      startLogging(stdout)
      checker = InMemoryUsernamePasswordDatabaseDontUse()
      checker.addUser("testuser", "examplepass")
      realm = AdditionRealm()
      factory = CredAMPServerFactory(Portal(realm, [checker]))
      reactor.listenTCP(7805, factory)
      reactor.run()
docs: Start the AMP server and the reactor.