-
Book Overview & Buying
-
Table Of Contents
Learning Yii Testing
By :
The basic application is composed of a SiteController with a couple of modules and a login system.
The configuration files should be quite straightforward to understand and can be found in the /config directory. We will be touching on them every now and then in order to configure certain aspects and extensions we're going to use.
Regardless of whether you are using the manually installed basic application or the Composer-driven method explained earlier, you will be required to set up the database on your environment and configure the application.
In the configuration file web.php, be sure to have set up the cookieValidationKey, and while in db.php, set up the DSN of your database as described in the documentation at http://www.yiiframework.com/doc-2.0/guide-start-databases.html#configuring-a-db-connection.
You will also note the following at the end of the web.php file:
// config/web.php
if (YII_ENV_DEV) {
// configuration adjustments for &apos...
Change the font size
Change margin width
Change background colour