andku83 / contacts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INSTALLATION

Install from an Archive File

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this project template using the following command:

git clone https://github.com/andku83/contacts.git
cd contacts
composer install
yii migrate
yii serve

Now you should be able to access the application through the following URL, assuming contacts is the directory directly under the Web root.

http://localhost:8080/

CONFIGURATION

Database

Edit the file config/db.php with real data, for example:

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=yii2_contacts',
    'username' => 'root',
    'password' => '',
    'charset' => 'utf8',
];

NOTES:

  • Yii won't create the database for you, this has to be done manually before you can access it.
  • Check and edit the other files in the config/ directory to customize your application as required.

About

License:Other


Languages

Language:PHP 95.9%Language:CSS 2.2%Language:Batchfile 1.6%Language:ApacheConf 0.3%