Hi,
Is it possible to install flarum in CLI only ?
composer create-project flarum/flarum . --stability=beta
cat > config.yml <<EOF
databaseConfiguration:
driver: mysql
host: ${DB_HOST}
database: ${DB_NAME}
username: ${DB_USER}
password: ${DB_PASS}
baseUrl: ${FORUM_URL}
EOF
php flarum install --file config.yml
It works pretty well with beta 5. So i tried the same process with beta 6, php flarum install
command works without any problem but when I open flarum with my browser i got 500 error and nginx logs shows this error :
2016/10/19 20:14:43 [error] 26#26: *33 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Illuminate\Database\Connectors\ConnectionF
actory::make() must be of the type array, string given, called in /flarum/app/vendor/flarum/core/src/Database/DatabaseServiceProvider.php on line 29 and defined in /flarum/app/ve
ndor/illuminate/database/Connectors/ConnectionFactory.php:41
Stack trace:
#0 /flarum/app/vendor/flarum/core/src/Database/DatabaseServiceProvider.php(29): Illuminate\Database\Connectors\ConnectionFactory->make('flarum')
#1 /flarum/app/vendor/illuminate/container/Container.php(738): Flarum\Database\DatabaseServiceProvider->Flarum\Database\{closure}(Object(Flarum\Foundation\Application), Array)
#2 /flarum/app/vendor/illuminate/container/Container.php(631): Illuminate\Container\Container->build(Object(Closure), Array)
#3 /flarum/app/vendor/flarum/core/src/Foundation/Application.php(513): Illuminate\Container\Container->make('flarum.db', Array)
#4 /flarum/app/vendor/flarum/core/src/Settings/SettingsServiceProvider.php(25):" while reading response header from upstream, client: 172.17.0.4, server: , request: "GET / HTTP/1
.0", upstream: "fastcgi://unix:/tmp/php-fpm.sock:", host: "flarum.local"
Did I forget something ? Has anybody tried this ?