-
Import db from
backup.sql
-
composer install
Edit the file config/db.php
with real data, for example:
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2basic',
'username' => 'root',
'password' => '1234',
'charset' => 'utf8',
];
http://localhost/index.php?productType=book&amount=0.3&lang=es&countryCode=IN&userOs=windows
productType = book | reward | walletRefill
amount = 0.30
lang = en | es | uk
countryCode = IN | CO |... country code in ISO-3166 format
userOs = android | ios | windows