1
0
Fork 0
mirror of synced 2024-06-30 04:00:34 +12:00

Merge branch 'setup-qa' into migration-qa

This commit is contained in:
Torsten Dittmann 2021-02-01 10:51:46 +01:00
commit d94c854215

View file

@ -6,14 +6,12 @@ use Appwrite\Docker\Compose;
use Appwrite\Docker\Env; use Appwrite\Docker\Env;
use Utopia\CLI\Console; use Utopia\CLI\Console;
use Utopia\Config\Config; use Utopia\Config\Config;
use Utopia\Validator\Mock;
use Utopia\View; use Utopia\View;
$cli $cli
->task('install') ->task('install')
->desc('Install Appwrite') ->desc('Install Appwrite')
->param('version', APP_VERSION_STABLE, new Mock(), 'Appwrite version', true) ->action(function () {
->action(function ($version) {
/** /**
* 1. Start - DONE * 1. Start - DONE
* 2. Check for older setup and get older version - DONE * 2. Check for older setup and get older version - DONE
@ -130,8 +128,7 @@ $cli
$templateForCompose $templateForCompose
->setParam('httpPort', $httpPort) ->setParam('httpPort', $httpPort)
->setParam('httpsPort', $httpsPort) ->setParam('httpsPort', $httpsPort)
->setParam('version', $version) ->setParam('version', APP_VERSION_STABLE)
->setParam('vars', $input)
; ;
$templateForEnv $templateForEnv