Пример #1
0
def deployFromPath(databaseFullPath):
   print ('Deploy database from {databaseFullPath}')
   resources.deleteFile(yadomsServer.databasePath() + "-journal")
   resources.deployFile(databaseFullPath, yadomsServer.databasePath())
Пример #2
0
def deploy(databaseName):
   print 'Deploy database ', databaseName
   resources.deployFile(os.path.join("resources", "databases", databaseName + ".db3"), yadomsServer.databasePath())
Пример #3
0
def deploy(configName):
   print 'Deploy configuration ', configName
   resources.deployFile(os.path.join("resources", "config", configName + ".ini"), os.path.join(yadomsServer.binaryPath(), "yadoms.ini"))
Пример #4
0
def deploy(configName):
    print 'Deploy configuration ', configName
    resources.deployFile(
        os.path.join("resources", "config", configName + ".ini"),
        os.path.join(yadomsServer.binaryPath(), "yadoms.ini"))
Пример #5
0
def deploy(databaseName):
    print 'Deploy database ', databaseName
    resources.deployFile(
        os.path.join("resources", "databases", databaseName + ".db3"),
        yadomsServer.databasePath())