Frontend Orientarsi Per Progettare Applications

dev-master 2023-01-23 16:22 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 Orientarsi Per Progettare Frontend Application

How do I get set up?

  • Composer.json

    "orientarsiperprogettare/frontend": "dev-master"

  • Configuration files - Amos4 Platforms

frontend/config/modules-others.php

'orientarsiperprogettare-frontend' => [

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

]

frontend/config/main.php

return [

'id' => 'app-frontend',
'basePath' => dirname(__DIR__),
'controllerNamespace' => 'orientarsiperprogettare\frontend\controllers',
'defaultRoute' => 'orientarsiperprogettare-frontend/site/index',
'homeUrl' => 'orientarsiperprogettare-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>' => 'orientarsiperprogettare-frontend/site/<action>',
    ),
],