def configure(self, config_file):
        config_url = 'config:' + config_file
        cwd = os.getcwd()
        self.config = appconfig(config_url, 'MAGMaWeb', relative_to=cwd)
        engine = engine_from_config(self.config)
        init_user_db(engine)
        self.job_factory = make_job_factory(self.config)