2017 © Pedro Peláez
 

project yii2-a6e

6 application ends for Yii 2 Advanced

image

p2made/yii2-a6e

6 application ends for Yii 2 Advanced

  • Monday, April 16, 2018
  • by p2m
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Yii 2 Advanced 6 Ends 5.0.0

License Total Downloads Monthly Downloads Latest Stable Version Latest Unstable Version, (*1)


Installation

One... create a new Yii2 Advanced project by running..., (*2)

composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application

Two Before running init, either..., (*3)

Depending on your Composer setup, run one of the following commands:, (*4)

composer require p2made/p2y2-a6e "^5.0"

or, (*5)

php composer.phar require p2made/p2y2-a6e "^5.0"

or add:, (*6)

        "p2made/p2y2-a6e": "^5.0"

to the requires section of your composer.json & run composer update., (*7)

p2y2-a6e installs..., (*8)

    p2made/p2y2-things
    p2made/p2y2-things-demo
    p2made/p2y2-startbootstrap-themes
    p2made/p2y2-sb-admin-theme

Three... run..., (*9)

cp -r ./vendor/p2made/p2y2-a6e/environments ./

The environments folder will be replaced., (*10)

Four... run ./init as usual., (*11)

Init to dev will replace some files. Select All when prompted. If you're going straight to a prod install for any reason, init to dev first so that these files do get replaced., (*12)

You now have application ends folders..., (*13)

    api/
    assets/
    backend/
    frontend/

If there are any application ends that you won't use, you can delete those folders, along with some extra deletions in config edits that follow., (*14)

Four... edit some config files..., (*15)

In common/config/bootstrap.php edit the last line..., (*16)

    Yii::setAlias('assetsUrl', 'http://static.a4e-dev.dev');

to have the URL for your static/assets application end., (*17)

If you're discarding any ends, delete the lines setting aliases for them., (*18)

In common/config/main.php edit the $_urlBase... values at the top according to your server configuration., (*19)

If you're discarding any ends, delete the corresponding lines here, & also the lines below settung urlManagers for them., (*20)

In common/config/params.php edit the reverseDomain value according to your server configuration., (*21)

The Versions