Skip to content
saturngod edited this page Aug 6, 2011 · 5 revisions

Installation

Ornagai is using CodeIgniter and MySQL. So, you need Apache , MySQL and PHP.

#Database setup

You need to create database first. (COLLATE utf8_general_ci recommend)

Import sample-database/dictionary2.sql.zip from phpmyadmin.

You will see 3 tables.

  • dblist
  • dmydblist
  • user

#Configure

##Base File

open /application/config/config.php

change

$config['base_url'] = "http://localhost/ornagai-V2";

and

//google analystic $config['google_uacct']='UA-2358448-18';

$config['google_uacct_m']='MO-2358448-20';

to your setting

if you don't have google analystic account, fill blank

//google analystic $config['google_uacct']='';

$config['google_uacct_m']='';

##Database

open system/application/config/database.php

change

$db['default']['hostname'] = "localhost";

$db['default']['username'] = "root";

$db['default']['password'] = "root";

$db['default']['database'] = "dictionary2";

to

your setting.

open in web browser and you will see ornagai.

#Recaptcha API

You need to add API in /application/recaptcha.php

Clone this wiki locally