/unadb

UNA Database

Primary LanguagePHPOtherNOASSERTION

UNA Database (UNADB)

UNA Database is for logging all the open statements made by UNA program

REQUIREMENTS

The minimum requirement by this application template that your Web server supports PHP 5.4.0. Knowledge of composer Knowledge of Yii2

CONFIGURATION

First of all use composer and update the project so you will get all the dependencies.

Database

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',
];

##For database structure: Create a new db and import mysql.schema.sql file, one user "admin" with password "admin123" is added already.

Also check and edit the other files in the config/ directory to customize your application.

YII2 DIRECTORY STRUCTURE

  assets/             contains assets definition
  commands/           contains console commands (controllers)
  config/             contains application configurations
  controllers/        contains Web controller classes
  mail/               contains view files for e-mails
  models/             contains model classes
  runtime/            contains files generated during runtime
  tests/              contains various tests for the basic application
  vendor/             contains dependent 3rd-party packages
  views/              contains view files for the Web application
  web/                contains the entry script and Web resources

Made for FORUM-ASIA (Asian Forum for Human Rights and Development) http://forum-asia.org by @themightydeity