Skip to content

Code Configuration

蒋雨蒙 edited this page Apr 8, 2015 · 2 revisions

Code Configuration

Some information about the database and the encryption of cookies are not provided in the code, so after cloning the code, we have to do the following configurations.

Run

cd application/config/
cp database.sample.php database.php

in your root directory, open database.php, and find the following lines.

$db['default']['username'] = '';
$db['default']['password'] = '';

Write in the username and password of the database.

Run cp email.sample.php email.php and find the following lines.

$config['smtp_user'] = '[email protected]';
$config['smtp_pass'] = '';

Write in the username and password of the email.

Run cp config.sample.php config.php.

Then the website should work.

Clone this wiki locally