1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +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 Utopia\CLI\Console;
use Utopia\Config\Config;
use Utopia\Validator\Mock;
use Utopia\View;
$cli
->task('install')
->desc('Install Appwrite')
->param('version', APP_VERSION_STABLE, new Mock(), 'Appwrite version', true)
->action(function ($version) {
->action(function () {
/**
* 1. Start - DONE
* 2. Check for older setup and get older version - DONE
@ -130,8 +128,7 @@ $cli
$templateForCompose
->setParam('httpPort', $httpPort)
->setParam('httpsPort', $httpsPort)
->setParam('version', $version)
->setParam('vars', $input)
->setParam('version', APP_VERSION_STABLE)
;
$templateForEnv