<?php
require_once __DIR__ . '/vendor/autoload.php';
require_once __DIR__ . '/support/bootstrap.php';

copy(base_path().'/.env',base_path().'/.env.back');
env_set([
    'webserver.enable'=>'true',
    'monitor.enable'=>'true',
    'database.driver'=>'mysql',
    'database.mysql.host'=>'127.0.0.1',
    'database.mysql.database'=>'webman',
    'database.mysql.username'=>'webman',
    'database.mysql.password'=>'',
    'database.sqlite.database'=>'/sqlite.db',
    'database.sqlserver.host'=>'127.0.0.1',
    'database.sqlserver.username'=>'webman',
    'database.sqlserver.database'=>'webman',
    'database.sqlserver.password'=>'',
    'database.postgre.host'=>'127.0.0.1',
    'database.postgre.username'=>'webman',
    'database.postgre.database'=>'webman',
    'database.postgre.password'=>'',
    'database.postgre.schema'=>'public',
    'getcoin.bitget.enable'=>'true',
    'getcoin.bitget.time'=>'0 */30 * * * *',


]);