sipro/frontend

dev-master 2019-07-09 13:38 UTC

README

This README would normally document whatever steps are necessary to get your application up and running.

What is this repository for?

Repository for SIPRO Frontend Application

How do I get set up?

  • Composer.json

    "sipro/frontend": "dev-master"

  • Configuration files - Amos4 Platforms

frontend/config/modules-others.php

'sipro-frontend' => [

'class' => 'sipro\frontend\Module',

]

frontend/config/main.php

return [

'id' => 'app-frontend',
'basePath' => dirname(__DIR__),
'controllerNamespace' => 'sipro\frontend\controllers',
'defaultRoute' => 'sipro-frontend/site/index',
'homeUrl' => 'sipro-frontend/site/index',
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
'bootstrap' => $bootstrap,
'components' => $components,
'modules' => $modules,
'params' => $params,
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

];

frontend/config/components-others.php

'urlManager' => [

    'class' => 'yii\web\UrlManager',
    'showScriptName' => false,
    'enablePrettyUrl' => true,
    'rules' => array(
        'site/<action>' => 'sipro-frontend/site/<action>',
    ),
],