Installing and configuring YG theme
- Extract the top level directory/folder (
yg-theme-name
) in your web accessible folder such as public_html
or var/www/html/
(local)
- Create a new database and import
yg-theme-name.sql
in the newly created database.
- Copy the
default.settings.php
file available in sites/default/
folder and rename it as settings.php
- Change the configuration of database connection in the
settings.php
file. An example for database connection:
$databases['default']['default'] = array (
'database' => 'db_name', // change it
'username' => 'db_user', //change it
'password' => 'db_password', // change it
'prefix' => '',
'host' => 'localhost',
'port' => '3306',
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
'driver' => 'mysql',
);