madetec/crm

Yii2 crm

dev-master 2019-03-11 10:03 UTC

This package is auto-updated.

Last update: 2024-04-12 03:44:47 UTC


README

app/web/index.php

$app = require __DIR__ . '/../config/web.php';

$admin = require __DIR__ . '/../vendor/madetec/crm/config/main.php';

$config = \yii\helpers\ArrayHelper::merge($app, $admin);

(new yii\web\Application($config))->run();

app/config/console.php

'controllerMap' => [
        'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            'migrationPath' => '@vendor/madetec/crm/migrations',
        ]
    ], 

Console command php yii migrate

login: cp_admin

password: 1234567890