예제 #1
0
파일: server.py 프로젝트: david415/gridsync
 def first_run(self):
     from gridsync.wizard import Wizard
     w = Wizard(self)
     w.exec_()
     logging.debug("Got first run settings: ", self.settings)
     self.initialize_gateways()
     self.start_gateways()
예제 #2
0
 def first_run(self):
     from gridsync.wizard import Wizard
     w = Wizard(self)
     w.exec_()
     logging.debug("Got first run settings: ", self.settings)
     self.initialize_gateways()
     self.start_gateways()
예제 #3
0
 def first_run(self):
     from gridsync.wizard import Wizard
     w = Wizard()
     w.exec_()
     if not w.introducer_furl or not w.folder:
         logging.debug("Setup wizard not completed; exiting")
         reactor.stop()
         return
     self.settings = {w.introducer_furl: {'tahoe.cfg': DEFAULT_SETTINGS}}
     self.settings[w.introducer_furl]['sync'] = {w.folder: None}
     logging.debug("Setup wizard finished. Using: %s", self.settings)
     self.initialize_gateways()
     self.start_gateways()